0.1.31 ā€¢ Published 21 days ago

@rushstack/eslint-bulk v0.1.31

Weekly downloads
-
License
MIT
Repository
github
Last release
21 days ago

@rushstack/eslint-bulk

This package provides the command-line interface (CLI) for the ESLint bulk suppressions feature from @rushstack/eslint-patch.

Setting it up

šŸ‘‰ Before using this tool, you will first need to install and configure the @rushstack/eslint-patch package.

See the eslint-bulk-suppressions documentation for details.

Typical workflow

  1. Checkout your main branch, which is in a clean state where ESLint reports no violations.
  2. Update your configuration to enable the latest lint rules; ESLint now reports thousands of legacy violations.
  3. Run eslint-bulk suppress --all ./src to update .eslint-bulk-suppressions.json.
  4. ESLint now no longer reports violations, so commit the results to Git and merge your pull request.
  5. Over time, engineers may improve some of the suppressed code, in which case the associated suppressions are no longer needed.
  6. Run eslint-bulk prune periodically to find and remove unnecessary suppressions from .eslint-bulk-suppressions.json, ensuring that new violations will now get caught in those scopes.

"eslint-bulk suppress" command

eslint-bulk suppress --rule NAME1 [--rule NAME2...] PATH1 [PATH2...]
eslint-bulk suppress --all PATH1 [PATH2...]

Use this command to automatically generate bulk suppressions for the specified lint rules and file paths. The path argument is a glob pattern with the same syntax as path arguments for the eslint command.

"eslint-bulk prune" command

Use this command to automatically delete all unnecessary suppression entries in all .eslint-bulk-suppressions.json files under the current working directory.

eslint-bulk prune

Links

@rushstack/eslint-bulk is part of the Rush Stack family of projects.

0.1.30

22 days ago

0.1.31

21 days ago

0.1.29

1 month ago

0.1.28

2 months ago

0.1.27

2 months ago

0.1.26

2 months ago

0.1.25

2 months ago

0.1.24

2 months ago

0.1.23

2 months ago

0.1.22

2 months ago

0.1.20

2 months ago

0.1.21

2 months ago

0.1.18

2 months ago

0.1.19

2 months ago

0.1.16

2 months ago

0.1.17

2 months ago

0.1.15

2 months ago

0.1.14

2 months ago

0.1.13

3 months ago

0.1.12

3 months ago

0.1.11

3 months ago

0.1.10

3 months ago

0.1.9

3 months ago

0.1.8

3 months ago

0.1.7

3 months ago

0.1.6

3 months ago

0.1.5

4 months ago

0.1.4

4 months ago

0.1.3

4 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago