eslint-config-dev

A shareable configuration package for eslint


Keywords
eslint, eslint-config, dev
License
CC0-1.0
Install
npm install eslint-config-dev@3.3.1

Documentation

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