@commission-on-post/eslint-config-recommended 1.0.2 → 1.0.4
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/config.js +4 -1
- package/package.json +5 -6
package/config.js
CHANGED
|
@@ -74,6 +74,9 @@ export default {
|
|
|
74
74
|
"@typescript-eslint/require-array-sort-compare": "warn",
|
|
75
75
|
"@typescript-eslint/switch-exhaustiveness-check": "error",
|
|
76
76
|
"@typescript-eslint/unified-signatures": "error",
|
|
77
|
+
"@typescript-eslint/restrict-template-expressions": "off",
|
|
78
|
+
"@typescript-eslint/unbound-method": "off",
|
|
79
|
+
"@typescript-eslint/ban-types": "off",
|
|
77
80
|
"array-callback-return": "warn",
|
|
78
81
|
"no-const-assign": "warn",
|
|
79
82
|
"no-constant-binary-expression": "error",
|
|
@@ -97,7 +100,6 @@ export default {
|
|
|
97
100
|
"require-atomic-updates": "warn",
|
|
98
101
|
"block-scoped-var": "warn",
|
|
99
102
|
"capitalized-comments": "error",
|
|
100
|
-
"class-methods-use-this": "warn",
|
|
101
103
|
complexity: "warn",
|
|
102
104
|
"default-case": "error",
|
|
103
105
|
"default-case-last": "warn",
|
|
@@ -136,6 +138,7 @@ export default {
|
|
|
136
138
|
"no-useless-rename": "error",
|
|
137
139
|
"no-useless-return": "error",
|
|
138
140
|
"no-var": "error",
|
|
141
|
+
"class-methods-use-this": "off",
|
|
139
142
|
"object-shorthand": "error",
|
|
140
143
|
"prefer-arrow-callback": "error",
|
|
141
144
|
"prefer-const": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commission-on-post/eslint-config-recommended",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "ESLint config using recommended state practices for the Commission on POST",
|
|
5
5
|
"main": "./config.js",
|
|
6
6
|
"author": "Ryan W. Bell",
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"repack": "(del *.tgz 2> NUL || exit 0) && npm pack",
|
|
16
16
|
"build": "tsc --pretty && echo REMEMBER TO COPY ./eslint.config.mjs TO DIST FOLDER",
|
|
17
|
-
"prepublishOnly": "npm version patch",
|
|
18
17
|
"start": "node ."
|
|
19
18
|
},
|
|
20
19
|
"keywords": [
|
|
@@ -31,9 +30,9 @@
|
|
|
31
30
|
"typescript-eslint": "^8.19.0"
|
|
32
31
|
},
|
|
33
32
|
"peerDependencies": {
|
|
34
|
-
"@eslint/js": "
|
|
35
|
-
"eslint": "
|
|
36
|
-
"typescript": "
|
|
37
|
-
"typescript-eslint": "
|
|
33
|
+
"@eslint/js": "^9.17.0",
|
|
34
|
+
"eslint": "^9.17.0",
|
|
35
|
+
"typescript": "^5.7.2",
|
|
36
|
+
"typescript-eslint": "^8.19.0"
|
|
38
37
|
}
|
|
39
38
|
}
|