eslint-config-dev
v3.3.1
Published
A shareable configuration package for eslint
Downloads
3,421
Maintainers
Readme
eslint-config-dev
eslint-config-dev is a shareable configuration package for eslint.
Install
Add eslint and eslint-config-dev to your project:
npm install --save-dev eslint eslint-config-dev
Then, add the following configuration to your package.json
:
{
"eslintConfig": {
"extends": "dev"
}
}
Usage with TypeScript
After the previous install instructions, add typescript-eslint to your project:
npm install --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin
Then, add the following configuration to your package.json
:
{
"eslintConfig": {
"extends": "dev/ts"
}
}
Usage with Astro
After the previous install instructions, add eslint-plugin-astro and eslint-plugin-jsx-a11y to your project:
npm install --save-dev eslint-plugin-astro eslint-plugin-jsx-a11y
Then, add the following configuration to your package.json
:
{
"eslintConfig": {
"extends": "dev/astro"
}
}