1.1.1 • Published 6 years ago

eslint-config-djantajs v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

eslint-config-djantajs

npm npm downloads Build Status Coverage Status Maintainability Test Coverage Known Vulnerabilities Gitter

djantajs shared coding style

Installation

$ npm i --save-dev eslint eslint-config-djantajs

Usage

Once the eslint-config-djantajs package is installed, you can use it by specifying djantajs in the extends section of your ESLint configuration.

{
  extends: 'djantajs',
  rules: {
    // Additional, per-project rules...
  }
}

Using the djantajs config with eslint:recommended

There are several rules in the eslint:recommended ruleset that style is not opinionated about that you might want to enforce in your project.

To use this coding style in conjunction with ESLint's recommended rule set, extend them both, making sure to list djantajs last:

{
  extends: ['eslint:recommended', 'djantajs'],
  rules: {
    // Additional, per-project rules...
  }
}

To see how the djantajs config compares with eslint:recommended, refer to the source code of index.js, which lists every ESLint rule along with whether (and how) it is enforced by the djantajs config.

License

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago