eslint-config
my eslint config
eslint:recommended
をベースにルール設定しています。
install
npm install -D @mnao305/eslint-config
Usage
Add .eslintrc.json
to your project.
JavaScript project
{
"extends": "@mnao305"
}
TypeScript project
{
"extends": "@mnao305/eslint-config/presets/typescript"
}
Vue project
Applying rules for Vue3
{
"extends": "@mnao305/eslint-config/presets/vue"
}
Vue + TypeScript project
{
"extends": "@mnao305/eslint-config/presets/vue-typescript"
}
version policie
- Major update
- Changes that can cause new errors
- Minor update
- Changes that can cause new warnings
- Patch version
- Changes that do not generate new errors or warnings