Socket
Socket
Sign inDemoInstall

@nuxt/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/eslint-config

ESLint config for Nuxt projects


Version published
Weekly downloads
154K
decreased by-0.88%
Maintainers
5
Weekly downloads
 
Created

What is @nuxt/eslint-config?

@nuxt/eslint-config is an ESLint configuration package specifically tailored for Nuxt.js projects. It provides a set of predefined rules and configurations to ensure code quality and consistency in Nuxt.js applications.

What are @nuxt/eslint-config's main functionalities?

Predefined ESLint Rules

This feature allows you to extend the predefined ESLint rules provided by @nuxt/eslint-config. By adding '@nuxt/eslint-config' to the 'extends' array in your ESLint configuration file, you can enforce a consistent coding style and catch common errors in your Nuxt.js project.

{"extends":["@nuxt/eslint-config"]}

Integration with Nuxt.js

This feature ensures that your ESLint configuration is optimized for Nuxt.js projects. It includes specific rules like 'nuxt/no-cjs-in-config' to prevent the use of CommonJS syntax in Nuxt.js configuration files, promoting the use of ES modules instead.

{"extends":["@nuxt/eslint-config"],"rules":{"nuxt/no-cjs-in-config":"error"}}

Other packages similar to @nuxt/eslint-config

FAQs

Package last updated on 06 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc