@commission-on-post/eslint-config-recommended 0.6.2 → 0.8.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/.eslintrc.js +13 -5
- package/package.json +9 -11
package/.eslintrc.js
CHANGED
|
@@ -10,7 +10,8 @@ module.exports = {
|
|
|
10
10
|
],
|
|
11
11
|
plugins: [
|
|
12
12
|
"@typescript-eslint",
|
|
13
|
-
|
|
13
|
+
// Import has security issues removed for the tiim
|
|
14
|
+
//"import" // This was imported to replace the rule `no-duplicate-imports`
|
|
14
15
|
],
|
|
15
16
|
rules: {
|
|
16
17
|
/*
|
|
@@ -105,13 +106,20 @@ module.exports = {
|
|
|
105
106
|
"@typescript-eslint/no-dupe-class-members": [
|
|
106
107
|
"error"
|
|
107
108
|
],
|
|
108
|
-
//
|
|
109
|
-
"
|
|
110
|
-
"
|
|
109
|
+
// The import/no-duplicates has security vunerabilites so for now the deprecated approach is going to be used
|
|
110
|
+
"@typescript-eslint/no-duplicate-imports":[
|
|
111
|
+
"warn",
|
|
111
112
|
{
|
|
112
|
-
"
|
|
113
|
+
"includeExports": true
|
|
113
114
|
}
|
|
114
115
|
],
|
|
116
|
+
// Rule updated from `no-duplicate-imports`
|
|
117
|
+
// "import/no-duplicates": [
|
|
118
|
+
// "error",
|
|
119
|
+
// {
|
|
120
|
+
// "prefer-inline": true
|
|
121
|
+
// }
|
|
122
|
+
// ],
|
|
115
123
|
"@typescript-eslint/no-empty-function": [
|
|
116
124
|
"warn",
|
|
117
125
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commission-on-post/eslint-config-recommended",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "ESLint config using recommended state practices for the Commission on POST",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Ryan W. Bell",
|
|
@@ -21,17 +21,15 @@
|
|
|
21
21
|
"recommended"
|
|
22
22
|
],
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@typescript-eslint/eslint-plugin": ">=5.
|
|
25
|
-
"@typescript-eslint/parser": ">=5.
|
|
26
|
-
"eslint": ">=8.
|
|
27
|
-
"typescript": ">=
|
|
28
|
-
"eslint-plugin-import": "^2.27.5"
|
|
24
|
+
"@typescript-eslint/eslint-plugin": ">=5.60.0",
|
|
25
|
+
"@typescript-eslint/parser": ">=5.60.0",
|
|
26
|
+
"eslint": ">=8.43.0",
|
|
27
|
+
"typescript": ">=5.0.4"
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
31
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
32
|
-
"@typescript-eslint/parser": "^5.
|
|
33
|
-
"eslint": "^8.
|
|
34
|
-
"
|
|
35
|
-
"typescript": "^5.1.0"
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
31
|
+
"@typescript-eslint/parser": "^5.60.0",
|
|
32
|
+
"eslint": "^8.43.0",
|
|
33
|
+
"typescript": "^5.0.4"
|
|
36
34
|
}
|
|
37
35
|
}
|