@eagleoutice/eslint-config-flowr 1.0.9 → 1.0.11
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 -1
- package/index.js +11 -7
- package/package.json +3 -2
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -20,6 +20,7 @@ module.exports = {
|
|
|
20
20
|
"plugins": [
|
|
21
21
|
"@typescript-eslint",
|
|
22
22
|
"eslint-plugin-tsdoc",
|
|
23
|
+
"eslint-plugin-unused-imports",
|
|
23
24
|
"check-file",
|
|
24
25
|
"@stylistic",
|
|
25
26
|
"@stylistic/js",
|
|
@@ -140,13 +141,16 @@ module.exports = {
|
|
|
140
141
|
"error",
|
|
141
142
|
"never"
|
|
142
143
|
],
|
|
143
|
-
"@typescript-eslint/no-unused-vars":
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
144
|
+
"@typescript-eslint/no-unused-vars": "off",
|
|
145
|
+
"unused-imports/no-unused-imports": "error",
|
|
146
|
+
"unused-imports/no-unused-vars": [
|
|
147
|
+
"error",
|
|
148
|
+
{
|
|
149
|
+
"vars": "all",
|
|
150
|
+
"varsIgnorePattern": "^_",
|
|
151
|
+
"args": "after-used",
|
|
152
|
+
"argsIgnorePattern": "^_",
|
|
153
|
+
},
|
|
150
154
|
],
|
|
151
155
|
"tsdoc/syntax": "error",
|
|
152
156
|
"@typescript-eslint/naming-convention": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eagleoutice/eslint-config-flowr",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Linting rules for flowr and friends",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "index.js",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"eslint-plugin-import": "^2.29.1",
|
|
18
18
|
"eslint-plugin-n": "^17.6.0",
|
|
19
19
|
"eslint-plugin-promise": "^6.1.1",
|
|
20
|
-
"eslint-plugin-tsdoc": "^0.2.17"
|
|
20
|
+
"eslint-plugin-tsdoc": "^0.2.17",
|
|
21
|
+
"eslint-plugin-unused-imports": "^4.1.4"
|
|
21
22
|
}
|
|
22
23
|
}
|