@itplusx/eslint-config
ESLint configs of ITplusX.
This package just defines additional rules and does not extend the rules defined in the original .eslintrc.js
that
are generated by vue create ...
or yarn create nuxt-app ...
. But this mighht be changed in the future.
Usage
- Add this package to your devDependencies:
npm i -D @itplusx/eslint-config
# or
yarn add -D @itplusx/eslint-config
- Install eslint if not already present
npm i -D eslint
# or
yarn add -D eslint
-
Create a
.eslintrc.js
file -
Extend our config with appropriate presets
module.exports = {
extends: [
// ... other rules might be above
'@itplusx/eslint-config/vuejs'
// ... other rules might be below
]
}