eslint-config-dev

3.3.1 • Public • Published

eslint-config-dev ESLint Logo

NPM Version Licensing

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

Package Sidebar

Install

npm i eslint-config-dev

Weekly Downloads

670

Version

3.3.1

License

CC0-1.0

Unpacked Size

29.9 kB

Total Files

16

Last publish

Collaborators

  • jonathantneal