Install
eslint-config-neonblack
This packages provides the ESLint config used at Neonblack
There is also a dedicated config for Vue.js projects
Installation
This eslint config relies on using vue-cli
and @vue/cli-plugin-eslint
.
To see the required versions run npm info "eslint-config-neonblack@latest" peerDependencies
After project setup just install this package and add it to your .eslintrc
config.
npm install --save-dev eslint-config-neonblack
yarn add -D eslint-config-neonblack
Now append the 'neonblack/vue'
config to your extends section in .eslintrc.js
.
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/essential',
'neonblack/vue'
]
};