1.1.1 • Published 3 years ago
@janaseta/eslint-config v1.1.1
Jāņa sēta's eslint config
Installation
You should have ESLint. Install it if you haven't:
npm install eslint --save-devnpm install @janaseta/eslint-config --save-devUsage
In the .eslintrc:
{
"extends": "@janaseta"
}And run it:
npx eslint .For existing projects you might want a softer ruleset:
{
"extends": "@janaseta/eslint-config/soft"
}Vue
For Vue projects you must also install the vue plugin:
npm install eslint-plugin-vue --save-dev{
"extends": "@janaseta/eslint-config/vue"
}