npx @nickgraffis/eslint -basic
⚠️ Remove node_modules: For automated set up, remove the node_modules folder. I'm not sure why this is causing an issue...
-basic
: Basic ESLint configuration.-react
: React ESLint configuration.react
andts
configs.
-ts
: TypeScript ESLint configuration.ts
andbasic
configs.
-vue
: Vue ESLint configuration.vue
andts
configs.
npm install @nickgraffis/eslint-[basic|react|ts|vue]
{
"extends": [
"@nickgraffis/eslint-[basic|react|ts|vue]"
]
}
Create .vscode/settings.json
{
"prettier.enable": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}