eslint-config-opinionated

1.5.0 • Public • Published

eslint-config-opinionated build npm license

Opinionated set of ESLint rules

A set of ESLint rules, following this hierarchy:

Install

$ npm install --save-dev eslint eslint-config-opinionated

Usage

Let your ESLint configuration know about this package:

module.exports = {
  extends: 'opinionated',
}

Or you can extend a specific configuration optimized for an environment:

module.exports = {
  extends: 'opinionated/node',
}

It is possible to extend several configurations:

module.exports = {
  extends: [
    'opinionated/node',
    'opinionated/fp',
  ],
}

Changelog

  • 1.5.0

    • Update max-statements, newline-after-var, newline-before-return rules
  • 1.4.1

    • Update func-style to declaration
  • 1.4.0

    • Update func-style rule
  • 1.3.0

    • Update one-var rule
  • 1.2.0

    • Update padded-blocks rule
  • 1.1.0

    • Add missing ES6 rules
  • 1.0.0

    • Bump stable

License

Creative Commons — CC0 1.0 Universal

To the extent possible under law, Aymeric Beaumet has waived all copyright and related or neighboring rights to this work.

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-opinionated

Weekly Downloads

8

Version

1.5.0

License

CC0-1.0

Last publish

Collaborators

  • aymericbeaumet