@koffeine/eslint-config-vue
v13.0.0
Published
Koffeine's ESLint shareable config for Vue.js
Downloads
10
Readme
Koffeine's ESLint shareable config for Vue.js 3
Installation
Use option --save-exact
for npm install to make sure that eslint-plugin-vue and config rules match.
Install config
npm install @koffeine/eslint-config-vue --save-dev --save-exact
Install eslint-plugin-vue
Install the correct version of eslint-plugin-vue, which is listed by the command:
npm info @koffeine/eslint-config-vue peerDependencies
For example:
npm install [email protected] --save-dev --save-exact
Usage
Add the following to your .eslintrc.js file:
module.exports = {
extends: '@koffeine/eslint-config-vue',
plugins: [ 'vue' ],
parser: 'vue-eslint-parser'
};
License
Copyright © Kornél Horváth
Licensed under the MIT License.