7.0.0 • Published 4 years ago
eslint-config-koffeine-vue v7.0.0
eslint-config-koffeine-vue
Koffeine's ESLint shareable config for Vue.js
Installation
Use option --save-exact
for npm install to make sure that eslint-plugin-vue and config rules match.
Install config
npm install eslint-config-koffeine-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 eslint-config-koffeine-vue peerDependencies
For example:
npm install eslint-plugin-vue@6.2.2 --save-dev --save-exact
Usage
Add the following to your .eslintrc.js file:
module.exports = {
extends: 'koffeine-vue',
plugins: [ 'vue' ],
parser: 'vue-eslint-parser',
...
};
License
Copyright © Kornél Horváth
Licensed under the MIT License.