@eagleoutice/eslint-config-flowr 1.0.19 → 1.0.20
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/index.js +25 -2
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -8,7 +8,8 @@ module.exports = {
|
|
|
8
8
|
"eslint:recommended",
|
|
9
9
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
10
10
|
"plugin:@typescript-eslint/strict",
|
|
11
|
-
"plugin:@typescript-eslint/recommended"
|
|
11
|
+
"plugin:@typescript-eslint/recommended",
|
|
12
|
+
"plugin:jsdoc/recommended"
|
|
12
13
|
],
|
|
13
14
|
"overrides": [],
|
|
14
15
|
"parserOptions": {
|
|
@@ -21,6 +22,7 @@ module.exports = {
|
|
|
21
22
|
"@typescript-eslint",
|
|
22
23
|
"eslint-plugin-tsdoc",
|
|
23
24
|
"eslint-plugin-unused-imports",
|
|
25
|
+
"jsdoc",
|
|
24
26
|
"check-file",
|
|
25
27
|
"@stylistic",
|
|
26
28
|
"@stylistic/js",
|
|
@@ -43,6 +45,10 @@ module.exports = {
|
|
|
43
45
|
"SwitchCase": 1
|
|
44
46
|
}
|
|
45
47
|
],
|
|
48
|
+
'@stylistic/padding-line-between-statements': [
|
|
49
|
+
'error',
|
|
50
|
+
{ blankLine: 'never', prev: 'import', next: 'import' },
|
|
51
|
+
],
|
|
46
52
|
"@stylistic/js/quotes": [
|
|
47
53
|
"error",
|
|
48
54
|
"single",
|
|
@@ -50,10 +56,14 @@ module.exports = {
|
|
|
50
56
|
"avoidEscape": true
|
|
51
57
|
}
|
|
52
58
|
],
|
|
59
|
+
'jsdoc/check-alignment': 'error',
|
|
60
|
+
'jsdoc/check-indentation': 'error',
|
|
61
|
+
'jsdoc/tag-spacing': ['error', { before: false, after: true }],
|
|
53
62
|
"@stylistic/no-mixed-spaces-and-tabs": [
|
|
54
63
|
"error",
|
|
55
64
|
"smart-tabs"
|
|
56
65
|
],
|
|
66
|
+
"@stylistic/no-mixed-operators": "error",
|
|
57
67
|
"no-warning-comments": [
|
|
58
68
|
"error",
|
|
59
69
|
{
|
|
@@ -80,6 +90,12 @@ module.exports = {
|
|
|
80
90
|
"align": "value"
|
|
81
91
|
}
|
|
82
92
|
],
|
|
93
|
+
"@stylistic/no-tabs": [
|
|
94
|
+
"error",
|
|
95
|
+
{
|
|
96
|
+
"allowIndentationTabs": true
|
|
97
|
+
}
|
|
98
|
+
],
|
|
83
99
|
"@stylistic/js/semi": [
|
|
84
100
|
"error",
|
|
85
101
|
"always",
|
|
@@ -141,6 +157,7 @@ module.exports = {
|
|
|
141
157
|
"error",
|
|
142
158
|
"never"
|
|
143
159
|
],
|
|
160
|
+
"@stylistic/no-trailing-spaces": "error",
|
|
144
161
|
"@typescript-eslint/no-unused-vars": "off",
|
|
145
162
|
"unused-imports/no-unused-imports": "error",
|
|
146
163
|
"unused-imports/no-unused-vars": [
|
|
@@ -208,6 +225,12 @@ module.exports = {
|
|
|
208
225
|
"1tbs"
|
|
209
226
|
],
|
|
210
227
|
"@stylistic/js/new-parens": "error",
|
|
211
|
-
"import/no-duplicates":
|
|
228
|
+
"import/no-duplicates": [
|
|
229
|
+
"error",
|
|
230
|
+
{
|
|
231
|
+
"considerQueryString": true,
|
|
232
|
+
"prefer-inline": true
|
|
233
|
+
}
|
|
234
|
+
]
|
|
212
235
|
}
|
|
213
236
|
}
|
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.20",
|
|
4
4
|
"description": "Linting rules for flowr and friends",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "index.js",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
11
|
"@stylistic/eslint-plugin": "^3.1.0",
|
|
12
|
+
"@stylistic/eslint-plugin-js": "^3.1.0",
|
|
12
13
|
"@stylistic/eslint-plugin-plus": "^3.1.0",
|
|
13
14
|
"@stylistic/eslint-plugin-ts": "^3.1.0",
|
|
14
|
-
"@stylistic/eslint-plugin-js": "^3.1.0",
|
|
15
15
|
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
|
16
16
|
"eslint": "^9.20.1",
|
|
17
17
|
"eslint-plugin-check-file": "^3.0.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"eslint-plugin-n": "^17.15.1",
|
|
20
20
|
"eslint-plugin-promise": "^7.2.1",
|
|
21
21
|
"eslint-plugin-tsdoc": "^0.4.0",
|
|
22
|
-
"eslint-plugin-unused-imports": "^4.1.4"
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
23
|
+
"eslint-plugin-jsdoc": "^61.1.12"
|
|
24
|
+
}
|
|
25
25
|
}
|