1.0.6 • Published 6 years ago
eslint-config-vue-strict v1.0.6
Vue ESLint Strict Rules
Usage
Would you like to make your vue code tight? Follow this guideline.
- Create a vue project with Vue CLI (^3.x)
$ vue create <my-vue>
- Select these following project options in order
Please pick a preset: Manually select features
Check the features needed for your project: Babel, Linter / Formatter
Pick a linter / formatter config: ESLint + Prettier
Pick additional lint features: Lint on Save
Where do you prefer placing config for Babel, ESLint, etc.?: In dedicated config files
Save this as a preset for future projects? n
- install the npm package
$ npm i -D @nuxtjs/eslint-config
- change the eslint config file
.eslintrc
{
extends: [
'@marvue/vue-strict',
]
}
License
MIT - CaptainPangyo