4.0.0 • Published 5 years ago

eslint-config-wiremore v4.0.0

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

eslint-config-wiremore

A shared ESLint configuration by wiremore. Rules are carefully selected to be as restrictive as necessary but no more. This config aims to cause as much consistency as possible in a codebase while keeping the code readable even for not-so-experienced developers.

Installation

Get started by running this command in the root of your project:

npm install --save-dev eslint eslint-config-wiremore

or

yarn add --dev eslint eslint-config-wiremore

Afterwards install all peerDependencies into your project:

npx install-peerdeps --dev eslint-config-wiremore

or:

(
  export PKG=eslint-config-wiremore;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Then add an .eslintrc.json file to the root of your project before running the eslint command, with the following:

{
  "extends": ["wiremore"]
}

Optionally you can also add linting for React/JSX:

{
  "extends": ["wiremore", "wiremore/react"]
}

If you want to use TypeScript, that's fine, we got you covered:

{
  "extends": ["wiremore", "wiremore/react", "wiremore/typescript"]
}

For more information see: http://eslint.org/docs/user-guide/configuring

4.0.0

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

3.0.0-beta.11

5 years ago

3.0.0-beta.10

5 years ago

3.0.0-beta.9

5 years ago

3.0.0-beta.8

5 years ago

3.0.0-beta.7

5 years ago

3.0.0-beta.6

5 years ago

3.0.0-beta.5

5 years ago

3.0.0-beta.4

5 years ago

3.0.0-beta.3

5 years ago

3.0.0-beta.2

5 years ago

3.0.0-beta.1

5 years ago

3.0.0-beta.0

5 years ago

2.4.0

5 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago