@anvilabs/eslint-config-react

17.6.0 • Public • Published

@anvilabs/eslint-config-react

Version Dependency Status devDependency Status

Anvilabs' ESLint config for our React/React Native apps.

Usage

This config relies dangerously on npm@3/yarn flatter tree for its dependencies (because of eslint/issues/3458), so installation may be as simple as:

$ yarn add eslint prettier @anvilabs/eslint-config @anvilabs/eslint-config-react --dev
# or
$ npm install eslint prettier @anvilabs/eslint-config @anvilabs/eslint-config-react --save-dev

Then add the extends to your .eslintrc.js:

module.exports = {
  extends: ['@anvilabs/eslint-config', '@anvilabs/eslint-config-react' /* or '@anvilabs/eslint-config-react/native' */],
  rules: {
    // your overrides
  },
};

Additional configs include:

License

MIT License © Anvilabs LLC

Package Sidebar

Install

npm i @anvilabs/eslint-config-react

Weekly Downloads

0

Version

17.6.0

License

MIT

Unpacked Size

9.63 kB

Total Files

6

Last publish

Collaborators

  • yenbekbay