10.0.0 • Published 6 months ago

eslint-config-pretty-strict v10.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

eslint-config-pretty-strict

A strict ESLint config.

Any style guide written in English is either so brief that it’s ambiguous, or so long that no one reads it.

—Bob Nystrom

This config provides reasonable ESLint rules to detect possible problems and suggest best practices. It includes all the recommended rules from @eslint/js and more.

Installing

npm install --save-dev eslint-config-pretty-strict eslint

Using

Import this config in your eslint.config.js file:

// eslint.config.js
import prettyStrict from "eslint-config-pretty-strict";

export default [...prettyStrict];

Then, run ESLint via the command line interface with:

npx eslint .

# Alternatively, automatically fix most problems
npx eslint . --fix

Usually, you want to run ESLint from a "lint" npm script, both locally and in CI.

You may want to install an ESLint plugin for your text editor, so that you can see and fix style problems directly in your editor.

Configuring

What if I don't agree with some rule?

You can configure ESLint settings and rules.

Sometimes, you may want to disable a rule only on some file or line of code by using configuration comments.

10.0.0

6 months ago

9.0.0

1 year ago

8.1.2

3 years ago

8.1.0

4 years ago

8.1.1

4 years ago

8.0.2

4 years ago

8.0.1

4 years ago

8.0.0

5 years ago

7.0.0

5 years ago

6.1.0

5 years ago

6.1.1

5 years ago

6.0.1

5 years ago

5.0.0

5 years ago

6.0.0

5 years ago

4.0.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

1.0.0-rc.16

7 years ago

1.0.0-rc.15

7 years ago

1.0.0-rc.14

7 years ago

1.0.0-rc.13

7 years ago

1.0.0-rc.12

7 years ago

1.0.0-rc.11

7 years ago

1.0.0-rc.10

7 years ago

1.0.0-rc.9

7 years ago

1.0.0-rc.8

7 years ago

1.0.0-rc.7

7 years ago

1.0.0-rc.6

7 years ago

1.0.0-rc.5

7 years ago

1.0.0-rc.4

7 years ago

1.0.0-rc.3

7 years ago

1.0.0-rc.2

7 years ago

1.0.0-rc.1

7 years ago

1.0.0-beta.0

7 years ago

1.0.0-alpha.1

7 years ago

1.0.0-alpha.0

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.0

8 years ago