ESLint (http://eslint.org) rules (all rules included) by netiler team.
npm install --save-dev eslint @babel/core @babel/eslint-parser vue-eslint-parser eslint-plugin-vue @netiler/eslint-config-netiler
- create a file named
.eslintrc.js
in your project:
module.exports = {
extends: ['@netiler/netiler']
};
module.exports = {
extends: ['@netiler/netiler', '@netiler/netiler/vue']
};
module.exports = {
extends: ['@netiler/netiler', '@netiler/netiler/vue3']
};