1.1.1 • Published 1 year ago

@janaseta/eslint-config v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Jāņa sēta's eslint config

Installation

You should have ESLint. Install it if you haven't:

npm install eslint --save-dev
npm install @janaseta/eslint-config --save-dev

Usage

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"
}