@eagleoutice/eslint-config-flowr 1.0.19 → 1.0.21

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.
Files changed (2) hide show
  1. package/index.js +24 -2
  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,13 @@ module.exports = {
50
56
  "avoidEscape": true
51
57
  }
52
58
  ],
59
+ 'jsdoc/check-alignment': 'error',
60
+ 'jsdoc/check-indentation': 'error',
53
61
  "@stylistic/no-mixed-spaces-and-tabs": [
54
62
  "error",
55
63
  "smart-tabs"
56
64
  ],
65
+ "@stylistic/no-mixed-operators": "error",
57
66
  "no-warning-comments": [
58
67
  "error",
59
68
  {
@@ -80,6 +89,12 @@ module.exports = {
80
89
  "align": "value"
81
90
  }
82
91
  ],
92
+ "@stylistic/no-tabs": [
93
+ "error",
94
+ {
95
+ "allowIndentationTabs": true
96
+ }
97
+ ],
83
98
  "@stylistic/js/semi": [
84
99
  "error",
85
100
  "always",
@@ -141,6 +156,7 @@ module.exports = {
141
156
  "error",
142
157
  "never"
143
158
  ],
159
+ "@stylistic/no-trailing-spaces": "error",
144
160
  "@typescript-eslint/no-unused-vars": "off",
145
161
  "unused-imports/no-unused-imports": "error",
146
162
  "unused-imports/no-unused-vars": [
@@ -208,6 +224,12 @@ module.exports = {
208
224
  "1tbs"
209
225
  ],
210
226
  "@stylistic/js/new-parens": "error",
211
- "import/no-duplicates": "error"
227
+ "import/no-duplicates": [
228
+ "error",
229
+ {
230
+ "considerQueryString": true,
231
+ "prefer-inline": true
232
+ }
233
+ ]
212
234
  }
213
235
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eagleoutice/eslint-config-flowr",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
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
- "devDependencies": {}
22
+ "eslint-plugin-unused-imports": "^4.1.4",
23
+ "eslint-plugin-jsdoc": "^61.1.12"
24
+ }
25
25
  }