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
Then, install the npm package
$ npm i @marvue/eslint-config-vue-strict
Change the eslint config file .eslintrc
{
extends: [
'@marvue/vue-strict',
]
}
Rules
License
MIT - CaptainPangyo