@newsteam/eslint-config 0.0.168 → 0.0.170
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 +10 -10
- package/package.json +12 -11
package/README.md
CHANGED
|
@@ -54,24 +54,24 @@ Our default export contains all of our ESLint rules, including ECMAScript 6+ and
|
|
|
54
54
|
|
|
55
55
|
1. Install the shared configuration:
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
```sh
|
|
58
|
+
npm install --save-dev @newsteam/eslint-config
|
|
59
|
+
```
|
|
60
60
|
|
|
61
61
|
2. Install the shared configuration peer dependencies (npm 5+):
|
|
62
62
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
```sh
|
|
64
|
+
npx install-peerdeps --dev @newsteam/eslint-config
|
|
65
|
+
```
|
|
66
66
|
|
|
67
67
|
3. Add this to your .eslintrc.
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
```json
|
|
70
|
+
"extends": "@newsteam"
|
|
71
|
+
```
|
|
72
72
|
|
|
73
73
|
## Maintenance
|
|
74
74
|
|
|
75
75
|
You can run tests with `npm test`.
|
|
76
76
|
|
|
77
|
-
You can make sure this module lints with itself using `npm run lint`.
|
|
77
|
+
You can make sure this module lints with itself using `npm run lint`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.170",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"types": "./lib/cjs/index.d.ts",
|
|
@@ -43,17 +43,18 @@
|
|
|
43
43
|
"lib"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"confusing-browser-globals": "1.0.11"
|
|
46
|
+
"confusing-browser-globals": "1.0.11",
|
|
47
|
+
"undefined": "^0.1.0"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@newsteam/jasmine": "0.0.43",
|
|
50
51
|
"@types/eslint": "8.21.1",
|
|
51
52
|
"@types/modernizr": "3.5.3",
|
|
52
|
-
"@types/node": "18.
|
|
53
|
+
"@types/node": "18.15.1",
|
|
53
54
|
"@types/react": "18.0.28",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
55
|
-
"@typescript-eslint/parser": "5.
|
|
56
|
-
"eslint": "8.
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "5.54.1",
|
|
56
|
+
"@typescript-eslint/parser": "5.54.1",
|
|
57
|
+
"eslint": "8.36.0",
|
|
57
58
|
"eslint-find-rules": "4.1.0",
|
|
58
59
|
"eslint-import-resolver-typescript": "3.5.3",
|
|
59
60
|
"eslint-plugin-array-func": "3.1.8",
|
|
@@ -78,16 +79,16 @@
|
|
|
78
79
|
"eslint-plugin-react-perf": "3.3.1",
|
|
79
80
|
"eslint-plugin-security": "1.7.1",
|
|
80
81
|
"eslint-plugin-sort-keys-fix": "1.1.2",
|
|
81
|
-
"eslint-plugin-unicorn": "
|
|
82
|
+
"eslint-plugin-unicorn": "46.0.0",
|
|
82
83
|
"json-schema": "0.4.0",
|
|
83
84
|
"postcss-nesting": "11.2.1",
|
|
84
85
|
"react": "18.2.0",
|
|
85
86
|
"typescript": "4.9.5"
|
|
86
87
|
},
|
|
87
88
|
"peerDependencies": {
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
89
|
-
"@typescript-eslint/parser": "5.
|
|
90
|
-
"eslint": "8.
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "5.54.1",
|
|
90
|
+
"@typescript-eslint/parser": "5.54.1",
|
|
91
|
+
"eslint": "8.36.0",
|
|
91
92
|
"eslint-plugin-array-func": "3.1.8",
|
|
92
93
|
"eslint-plugin-css-modules": "2.11.0",
|
|
93
94
|
"eslint-plugin-es": "4.1.0",
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
"eslint-plugin-react-perf": "3.3.1",
|
|
110
111
|
"eslint-plugin-security": "1.7.1",
|
|
111
112
|
"eslint-plugin-sort-keys-fix": "1.1.2",
|
|
112
|
-
"eslint-plugin-unicorn": "
|
|
113
|
+
"eslint-plugin-unicorn": "46.0.0",
|
|
113
114
|
"eslint-plugin-you-dont-need-lodash-underscore": "6.12.0",
|
|
114
115
|
"json-schema": "0.4.0",
|
|
115
116
|
"typescript": "4.9.5"
|