9.2.3 • Published 3 years ago

eslint-config-7geese v9.2.3

Weekly downloads
31
License
MIT
Repository
github
Last release
3 years ago

Installation

First install eslint and the config as devDependencies, using either yarn or npm:

yarn add -D eslint eslint-config-7geese

npm install -D eslint eslint-config-7geese

Next, you'll need to install any plugins you wish to use. In most cases, you'll want them all, so you can install them all with (this example using yarn):

yarn add -D \
    eslint-plugin-7g \
    eslint-plugin-compat \
    eslint-plugin-filenames \
    eslint-plugin-import \
    eslint-plugin-jest \
    eslint-plugin-jsx-a11y \
    eslint-plugin-promise \
    eslint-plugin-react \
    eslint-plugin-react-hooks

Usage

Add this config under the "extends" part of your .eslintrc file:

{
    "extends": "7geese"
}

If there are plugins or rules which you do not want to use, you'll have to opt-in/out of the specific rulesets which you want to use: By extending the specific subpackage you want

{
    "extends": [
        "7geese/rules/eslint/best-practices",
        "7geese/rules/eslint/errors",
        "7geese/rules/react",
    ]
}

For more details about how shareable configs work, see the ESLint documentation.

Inspiration

Inspired heavily by AirBnB, Walmart and Formidable ESLint configs.

See also

Check out our ESLint plugin, with some rules for writing JavaScript code at 7Geese.

9.2.3

3 years ago

9.2.1

3 years ago

9.1.0

3 years ago

8.0.0

3 years ago

9.2.0

3 years ago

9.0.0

3 years ago

7.0.0

4 years ago

6.0.1-0

4 years ago

6.0.2-0

4 years ago

6.0.0-0

4 years ago

5.0.0

4 years ago

4.1.0

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.0.3

4 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.9.0

5 years ago

2.8.1

5 years ago

2.5.3

5 years ago

2.8.0

5 years ago

2.7.0

5 years ago

2.5.2

5 years ago

2.5.1

5 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

2.0.0-beta.0

5 years ago

1.8.0

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.0

6 years ago

0.7.0

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago