@speechanddebate/eslint-config-nsda 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +3 -2
- package/react.js +1 -0
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# eslint-config-nsda
|
|
2
|
-
This package exports the base NSDA eslint config, and a second optional config for React/JSX. The exports respectively extend airbnb-base and airbnb. They require eslint and eslint-plugin-import, along with eslint-plugin-react
|
|
2
|
+
This package exports the base NSDA eslint config, and a second optional config for React/JSX. The exports respectively extend airbnb-base and airbnb. They require eslint and eslint-plugin-import, along with eslint-plugin-react, eslint-plugin-jsx-a11y, and eslint-plugin-testing-library for the React config.
|
|
3
3
|
|
|
4
4
|
First install eslint and any plugins:
|
|
5
5
|
|
|
@@ -8,7 +8,7 @@ npm install eslint eslint-plugin-import --save-dev
|
|
|
8
8
|
```
|
|
9
9
|
or
|
|
10
10
|
```
|
|
11
|
-
npm install eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y --save-dev
|
|
11
|
+
npm install eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-testing-library --save-dev
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Then install the package:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speechanddebate/eslint-config-nsda",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "NSDA ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"eslint-config-airbnb": "^19.0.4",
|
|
31
31
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
32
|
+
"eslint-plugin-jest": "26.5.3",
|
|
32
33
|
"eslint-plugin-react": "^7.30.0",
|
|
33
|
-
"eslint-plugin-
|
|
34
|
+
"eslint-plugin-testing-library": "^6.0.1"
|
|
34
35
|
}
|
|
35
36
|
}
|