3.2.0 • Published 5 years ago

eslint-config-jameslnewell v3.2.0

Weekly downloads
478
License
MIT
Repository
github
Last release
5 years ago

eslint-config-jameslnewell

ESLint config for common gotch'yas for different JS environments.

Note: I think formatting code is important (find out why here) but nowdays I'm using prettier to take care of formatting code for me.

Installation

npm install --save eslint-config-jameslnewell

Usage

In the root of your project, create a .eslintrc file with the following contents:

{
  "extends": "jameslnewell/<env>"
}

Now run eslint on your script files:

eslint **/*.js

Configurations

jameslnewell/es5

Linting rules for ES5.

jameslnewell/es6

Linting rules for ES6.

jameslnewell/es

Linting rules for latest language features.

jameslnewell/react

Linting rules for ES6 and react.

jameslnewell/node

Linting rules for node v4.

Partial configurations

jameslnewell/test

Relax rules with useful behaviour for testing.

jameslnewell/debug

Relax rules with useful behaviour for debugging.

Change log

3.0.0-preview.*

  • break: removed all rules that enforced formatting
  • break: switch jameslnewell/test from mocha to jest
  • break: removed rules already configured in eslint:recommended

I bumped the major version because lots of people were using the preview.

2.0.0-preview.*

  • break: use webpack config for resolution of imports
  • break: moved mocha rules to the test configuration
  • break: turned on a whole heap of new import,reactandmocha` rules
  • break: using babel-eslint to support class properties

I bumped the major version because lots of people were using the preview.

1.0.0-preview.*

  • break: migrate to eslint v2

0.5.1

  • fix: moved eslint-plugin-mocha from devDependencies to dependencies

0.5.0

  • add: added eslint-plugin-mocha to prevent .only() slipping through
3.2.0

5 years ago

3.1.0

6 years ago

3.0.5

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

3.0.0-preview

7 years ago

3.0.0-preview.4

7 years ago

3.0.0-preview.3

7 years ago

3.0.0-preview.2

7 years ago

3.0.0-preview.1

7 years ago

2.0.0-preview.6

7 years ago

2.0.0-preview.5

7 years ago

2.0.0-preview.4

8 years ago

2.0.0-preview.3

8 years ago

2.0.0-preview.2

8 years ago

2.0.0-preview.1

8 years ago

1.0.0-rc.9

8 years ago

1.0.0-rc.8

8 years ago

1.0.0-rc.7

8 years ago

1.0.0-rc.6

8 years ago

1.0.0-rc.5

8 years ago

1.0.0-rc.4

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago

1.0.0-rc.3

8 years ago

1.0.0-rc.2

8 years ago

1.0.0-rc.1

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago