npm

@bitpas/eslint-config

0.6.3 • Public • Published

@bitpas/eslint-config

Unstable until v1. Updates may include breaking changes. Use at your own risk.

Shared ESLint config.

The default export contains all rules for ES2021, React, and TypeScript.

Installation

  1. Install config
npm install --save-dev @bitpas/eslint-config

Manual peer dependency installation may be required depending on your npm version.

npm versions 1, 2, and 7 will automatically install peerDependencies if they are not explicitly depended upon higher in the dependency tree. For npm versions 3 through 6, you will receive a warning that the peerDependency is not installed instead.

  1. Install base peer dependencies
npm install --save-dev eslint eslint-plugin-import
  1. Install React peer dependencies
npm install --save-dev eslint-plugin-{react,react-hooks,jsx-a11y}
  1. Install TypeScript peer dependencies
npm install --save-dev @typescript-eslint/{parser,eslint-plugin}

Usage

Add "extends": "@bitpas" to your .eslintrc.

Package Sidebar

Install

npm i @bitpas/eslint-config

Weekly Downloads

2

Version

0.6.3

License

MIT

Unpacked Size

4.13 kB

Total Files

12

Last publish

Collaborators

  • ryantoddgarza