2.0.17 • Published 2 months ago

@speechanddebate/eslint-config-nsda v2.0.17

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

NSDA ESLint Config

This package exports multiple NSDA eslint configs comaptible with eslint's flat config format.

It does not support eslint v9 yet, as too many plugins are not yet compatible.

The default export is a base config for use with general JS projects. Or, access different configs with the named export:

{ configs } - Full eslint configs with plugins/rules/etc...

  • configs.recommended - Same as the default export
  • configs.react - Base config + React plugins/rules
  • configs.typeChecked - For Typescript projects, also includes React config.
  • configs.tabroom - For use with Tabroom, based on the typeChecked config.

You can also use individual named exports to compose a custom config:

{ plugins } - Individual plugin setups - note that some plugins using the flatCompat utility export arrays instead of objects

{ rules } - Individual rule sets

{ ignores } - Ignore/exclusion rules

{ globals } - Global variable setup

To install:

npm install eslint@8.57.0 @speechanddebate/eslint-config-nsda --save-dev

Then use one of the exported configs in your eslint.config.js:

import nsda from '@speechanddebate/eslint-config-nsda';
export default [
	...nsda,
	{ rules: {} }, // Custom overrides
];

or

import { configs } from '@speechanddebate/eslint-config-nsda';
export default [
	...configs.typeChecked,
	{ rules: {} }, // Custom overrides
];
2.0.15

2 months ago

2.0.16

2 months ago

2.0.13

4 months ago

2.0.14

3 months ago

2.0.11

8 months ago

2.0.12

8 months ago

2.0.9

8 months ago

2.0.10

8 months ago

2.0.8

8 months ago

2.0.17

2 months ago

2.0.3

11 months ago

2.0.2

11 months ago

2.0.5

11 months ago

2.0.4

11 months ago

2.0.7

11 months ago

2.0.6

11 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.26

1 year ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.20

2 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago