9.0.1 • Published 11 months ago

eslint-config-bluedrop v9.0.1

Weekly downloads
264
License
ISC
Repository
github
Last release
11 months ago

eslint-config-bluedrop

Dependency Status Build Status GitHub license

This package provides Bluedrop's ESLint configuration as an extensible shared config.

Usage

We export two ESLint configurations for your usage.

General Setup

  1. npm install --save-dev eslint-config-bluedrop eslint-plugin-filenames eslint-plugin-promise eslint-plugin-security eslint

eslint-config-bluedrop

Our default export contains all of our ESLint rules, including ECMAScript 6+.

  1. Add "extends": "bluedrop" to your ESLint config file

eslint-config-bluedrop/config/babel

An extension of eslint-config-bluedrop that adds support for eslint-babel.

  1. Ensure you have installed the dependencies from General Setup
  2. npm install --save-dev eslint-plugin-babel
  3. Add "extends": ["bluedrop", "bluedrop/config/babel"] to your ESLint config file

eslint-config-bluedrop/config/chai

An extension of eslint-config-bluedrop that adds support for Jest.

  1. Ensure you have installed the dependencies from General Setup
  2. npm install --save-dev eslint-plugin-jest
  3. Add "extends": ["bluedrop", bluedrop/config/chai"] to your ESLint config file

eslint-config-bluedrop/config/ecmascript-7

An extension of eslint-config-bluedrop that adds support for ECMAScript 7.

  1. Ensure you have installed the dependencies from General Setup
  2. Add "extends": ["bluedrop", "bluedrop/config/ecmascript-7"] to your ESLint config file

eslint-config-bluedrop/config/ecmascript-8

An extension of eslint-config-bluedrop that adds support for ECMAScript 8.

  1. Ensure you have installed the dependencies from General Setup
  2. Add "extends": ["bluedrop", "bluedrop/config/ecmascript-8"] to your ESLint config file

eslint-config-bluedrop/config/jest

An extension of eslint-config-bluedrop that adds support for Jest.

  1. Ensure you have installed the dependencies from General Setup
  2. npm install --save-dev eslint-plugin-jest
  3. Add "extends": ["bluedrop", bluedrop/config/jest"] to your ESLint config file

eslint-config-bluedrop/config/mocha

An extension of eslint-config-bluedrop that adds support for Mocha.

  1. Ensure you have installed the dependencies from General Setup
  2. npm install --save-dev eslint-plugin-mocha
  3. Add "extends": ["bluedrop", "bluedrop/config/mocha"] to your ESLint config file

eslint-config-bluedrop/config/node

An extension of eslint-config-bluedrop that adds support for Node.

  1. Ensure you have installed the dependencies from General Setup
  2. npm install --save-dev eslint-plugin-node
  3. Add "extends": ["bluedrop", "bluedrop/config/node"] to your ESLint config file

eslint-config-bluedrop/config/react

An extension of eslint-config-bluedrop that adds support for mocha.

  1. Ensure you have installed the dependencies from General Setup
  2. npm install --save-dev eslint-plugin-react
  3. Add "extends": ["bluedrop", "bluedrop/config/react"] to your ESLint config file

Semantic Versioning Policy

eslint-config-bluedrop follows semantic versioning. However, due to the nature of code quality tools, it's not always clear when a minor or major version bump occurs. To help clarify this for everyone, we've defined the following semantic versioning policy for the project:

  • Patch release (intended to not break your lint build)
    • A bug fix in a rule that results in ESLint reporting fewer errors.
    • Improvements to documentation.
    • Non-user-facing changes such as refactoring code, adding, deleting, or modifying tests, and increasing test coverage.
    • Re-releasing after a failed release (i.e., publishing a release that doesn't work for anyone).
  • Minor release (might break your lint build)
    • A bug fix in a rule that results in ESLint reporting more errors.
    • A new rule is created.
    • A new configuration is added.
    • A new option to an existing rule that does not result in ESLint reporting more errors.
    • An existing rule is deprecated.
  • Major release (likely to break your lint build)

    • Support for old Node version is dropped.
    • Support for old ESLint version is dropped.
    • An existing rule is changed that would report more errors.
    • An existing rule is removed.
    • An existing option of a rule is removed.
    • An existing configuration is updated.

According to our policy, any minor update may report more errors than the previous release (ex: from a bug fix). As such, we recommend using package-lock.json to guarantee the results of your builds.

Contributing

Add new rule definitions under the files located in rules ensuring to keep the rule correctly categorized and in the same order as defined on the ESLint rules page. Add new configurations to config.

This project self-lints and ensure that all file paths are correct. You can run these checks with the npm run test command.

License

This project is released under the ISC license. See LICENSE.

10.0.3

11 months ago

10.0.4

11 months ago

10.0.2-rc.1

11 months ago

9.1.0-alpha.1

11 months ago

9.0.1

11 months ago

10.0.0

1 year ago

10.0.1

1 year ago

11.0.0-next.0

1 year ago

9.0.0

4 years ago

8.0.0

4 years ago

7.2.0

5 years ago

7.1.0

5 years ago

7.0.0

5 years ago

6.0.0

5 years ago

5.0.0

6 years ago

4.0.0

6 years ago

4.0.0-pre.1

6 years ago

3.3.0

6 years ago

3.2.0

6 years ago

3.1.0

7 years ago

3.0.0

7 years ago

3.0.0-pre.9

7 years ago

3.0.0-pre.8

7 years ago

3.0.0-pre.7

7 years ago

3.0.0-pre.6

7 years ago

3.0.0-pre.5

7 years ago

3.0.0-pre.4

7 years ago

3.0.0-pre.3

7 years ago

3.0.0-pre.2

7 years ago

3.0.0-pre.1

7 years ago

2.0.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago