5.3.0 • Published 7 years ago

eslint-config-remitbri v5.3.0

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

eslint-config-remitbri

Opinionated rule settings to be used with ESLint. Can be used with ESLint v3.17.1 and eslint-plugin-react v6.10.0, or above. npm version

Installation

npm install --save-dev eslint-config-remitbri

Default usage

You may:

  • add the following line to the .eslintrc or to the eslintConfig field of the package.json of your project
{
  "extends" : "remitbri"
}
  • or use the command line
    eslint -c remitbri *.js

Consult the ESLint documentation for more information about extending configuration files.

This default configuration corresponds to react (see below) — because it's opinionated :)

Other than those specified in the available configurations, no language option (ecmaFeatures), parser, environment, global or plugin is set. Add them as needed in your own .eslintrc!

Available configurations

es5

This is a collection of rules regarding possible errors, best practices, strict mode, variables and stylistic issues.

{
  "extends" : "remitbri/es5"
}

es6

This

  • extends the es5 configuration
  • add rules related to es2015
  • adds the es6 environment
{
  "extends" : "remitbri/es6"
}

es2017

This

  • extends the es6 configuration
  • add rules related to es2017
{
  "extends" : "remitbri/es2017"
}

node

This

It's not meant to be used on its own, rather with other configurations. E.g

{
  "extends" : ["remitbri/es5", "remitbri/node"]
}

or

{
  "extends" : ["remitbri/es6", "remitbri/node"]
}

ie8

This

  • extends the es5 configuration
  • adds a couple of rule modifications because hello ECMAScript 3
  • adds the browser environment
{
  "extends" : "remitbri/ie8"
}

react

This is the default configuration. This

  • extends the es6 and node configurations
  • adds rules related to eslint-plugin-react
  • adds the browser environment
  • adds the jsx, modules and experimentalObjectRestSpread ecmaFeatures (the other ones are already added in the es6 environment)
{
  "extends" : "remitbri/react"
}
5.3.0

7 years ago

5.2.2

7 years ago

5.2.1

7 years ago

5.2.0

7 years ago

5.1.0

7 years ago

5.0.0

7 years ago

4.1.0

8 years ago

4.0.1

8 years ago

4.0.0

8 years ago

3.4.0

8 years ago

3.3.2

8 years ago

3.3.1

8 years ago

3.3.0

8 years ago

3.2.0

8 years ago

3.1.0

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.8.1

9 years ago

1.8.0

9 years ago

1.7.0

9 years ago

1.6.0

9 years ago

1.5.0

9 years ago

1.4.0

9 years ago

1.3.0

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago