4.2.7 • Published 1 month ago

@jitesoft/eslint-config v4.2.7

Weekly downloads
69
License
MIT
Repository
gitlab
Last release
1 month ago

@jitesoft/eslint-config

npm (scoped) Known Vulnerabilities npm Back project

Semi-standard shareable config to make it easier to modify by Jitesoft organization.

Installation:

npm i --save-dev @jitesoft/eslint-config

yarn add --dev @jitesoft/eslint-config

Configurations

There are four configurations available:

default, node, browser, jsx and jest.

As expected, the Node and Browser configurations are set to use globals for the environment. The default configuration is a mixed node/web configuration, while the jest configuration is created for code which uses the jest test framework.

Usage

To extend the base/default config, just use the scoped name as such:

{
  "extends": "@jitesoft"  
}

To be able to use the other configurations, the whole name have to be included:

{
  "extends": "@jitesoft/eslint-config/jest"
}

QA

Q:
Why?

A:
For an organization it's easier to keep a bundle of configurations than using a million little packages in each package.json file. This package contains all the standards used by Jitesoft.
Further more, if we wish to change any rules, it's a lot easier to do that in our own package than propagate it through settings files in all repositories!

Q:
Why hard versions in the package.json file?

A:
To make sure that all the packages are in the exact version that we thought they where at each publish, the versions of the sub-packages have been set to exact versions. It's hard to test and make sure that everything works as intended in case some users use later or earlier versions (even if it is patch versions!) without knowing.

Q:
Why semistandard and not just standard?!

A:
Cause semicolon is best. Thats why!

Q:
Why spaces instead of tabs?!

A:
....

4.2.7

1 month ago

4.2.6

4 months ago

4.2.3

9 months ago

4.2.2

9 months ago

4.2.5

6 months ago

4.2.4

6 months ago

4.2.1

10 months ago

4.2.0

1 year ago

4.1.17

1 year ago

4.1.16

1 year ago

4.1.12

1 year ago

4.1.13

1 year ago

4.1.14

1 year ago

4.1.15

1 year ago

4.1.8

2 years ago

4.1.9

2 years ago

4.1.10

2 years ago

4.1.11

1 year ago

4.1.7

2 years ago

4.1.6

2 years ago

4.1.4

2 years ago

4.1.5

2 years ago

4.1.2

2 years ago

4.1.1

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.1.0

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.18.2

3 years ago

2.18.1

3 years ago

2.18.0

3 years ago

2.17.4

3 years ago

2.17.2

3 years ago

2.17.3

3 years ago

2.17.0

3 years ago

2.17.1

3 years ago

2.16.0

3 years ago

2.15.0

3 years ago

2.14.0

3 years ago

2.13.0

3 years ago

2.12.0

3 years ago

2.11.0

3 years ago

2.10.0

3 years ago

2.9.1

3 years ago

2.8.0

4 years ago

2.7.0

4 years ago

2.6.0

4 years ago

2.5.1

4 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.10.4

4 years ago

1.10.3

4 years ago

1.10.1

4 years ago

1.10.0

4 years ago

1.9.1

4 years ago

1.8.6

4 years ago

1.8.5

4 years ago

1.8.4

4 years ago

1.8.3

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.3

4 years ago

1.7.2

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.4.0

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago