@will-stone/eslint-config 6.2.0 → 6.3.0
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/package.json +7 -7
- package/rules/built-in.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@will-stone/eslint-config",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "My ESLint config",
|
|
6
6
|
"repository": {
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
"eslint-print-rules": "eslint --no-eslintrc -c ./_for_rule_checking.js --print-config ./_for_rule_checking.js > rules.json"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"confusing-browser-globals": "^1.0.
|
|
16
|
+
"confusing-browser-globals": "^1.0.11",
|
|
17
17
|
"eslint-config-prettier": "^8.3.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"eslint-find-rules": "^4.0.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
24
|
-
"@typescript-eslint/parser": "^5.
|
|
25
|
-
"eslint": "^8.
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
|
24
|
+
"@typescript-eslint/parser": "^5.8.0",
|
|
25
|
+
"eslint": "^8.5.0",
|
|
26
26
|
"eslint-plugin-import": "^2.25.3",
|
|
27
|
-
"eslint-plugin-jest": "^25.
|
|
27
|
+
"eslint-plugin-jest": "^25.3.0",
|
|
28
28
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
29
29
|
"eslint-plugin-node": "^11.1.0",
|
|
30
30
|
"eslint-plugin-prettier": "^4.0.0",
|
|
31
|
-
"eslint-plugin-react": "^7.
|
|
31
|
+
"eslint-plugin-react": "^7.28.0",
|
|
32
32
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
33
33
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
34
34
|
"eslint-plugin-switch-case": "^1.1.2",
|
package/rules/built-in.js
CHANGED
|
@@ -685,6 +685,9 @@ module.exports = {
|
|
|
685
685
|
// or 16 (hexadecimal).
|
|
686
686
|
'prefer-numeric-literals': 'warn',
|
|
687
687
|
|
|
688
|
+
// Not supported by Typescript yet
|
|
689
|
+
'prefer-object-has-own': 'off',
|
|
690
|
+
|
|
688
691
|
// Prefer use of an object spread over Object.assign()
|
|
689
692
|
'prefer-object-spread': 'warn',
|
|
690
693
|
|