1.2.2 • Published 3 years ago

@miirinjej/eslint-config-vue v1.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@miirinjej/eslint-config-vue

npm version

Standalone sharable eslint config for Vue/Nuxt

Installation

npm install --save-dev @miirinjej/eslint-config-vue eslint

Usage

Add this config to package.json:

"eslintConfig": {
  "extends": [
    "@miirinjej/eslint-config-vue"
  ]
}

See also: https://eslint.vuejs.org/user-guide/#usage

Extending the config

You can extend the current configuration by extending (or overriding) rules or an array of existing configurations:

{
  "extends": ["@miirinjej/eslint-config-vue", "./eslint.config.js"],
  "rules": {
    "vue/comma-dangle": ["error", "never"]
  }
}

See also: https://eslint.org/docs/user-guide/configuring#extending-configuration-files

Extensions

Rules

See config itself.

Rules are grouped and sorted by default as in the original lists: