4.1.7 • Published 1 day ago

@justia/eslint-config v4.1.7

Weekly downloads
2
License
MIT
Repository
github
Last release
1 day ago

@justia/eslint-config version 4.1.7

Justia's base JS ESLint configuration

This package provides Justia's base JavaScript guidelines (without React plugins) as an extensible shared configuration.

Make sure you upgrade to at least Node.js 12.22.0 when using ESLint v8.0.0. One important thing to double check is the Node.js version supported by your editor when using ESLint via editor integrations. If you are unable to upgrade, we recommend continuing to use ESLint 7 until you are able to upgrade Node.js.

Install

Install the correct versions of the peer dependencies, which are listed by the command:

npm info "@justia/eslint-config@latest" peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev @justia/eslint-config

If using npm < 5, Linux/OSX users can run

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

Which produces and runs a command like:

npm install --save-dev @justia/eslint-config eslint@^#.#.# prettier@^#.#.# babel-eslint@^#.#.# eslint-config-prettier@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-prettier@^#.#.# eslint-plugin-promise@^#.#.#

Usage

This configuration contains all of our ESLint rules, including ECMAScript 6+ and formatting styles. It requires the following external packages:

  • eslint
  • prettier
  • babel-eslint
  • eslint-config-prettier
  • eslint-plugin-import
  • eslint-plugin-prettier
  • eslint-plugin-promise

After installation of packages and its peer dependencies, add "extends": ["@justia"] to your .eslintrc.

4.1.7

1 day ago

4.1.6

6 months ago

4.1.5

9 months ago

4.1.4

1 year ago

4.1.3

1 year ago

4.1.0

2 years ago

4.1.2

1 year ago

4.1.1

1 year ago

4.0.1

2 years ago

4.0.0

2 years ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.5.0

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago