@eagleoutice/eslint-config-flowr 1.0.30 → 1.0.32

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 +21 -5
  2. package/package.json +13 -13
package/index.js CHANGED
@@ -30,11 +30,19 @@ module.exports = {
30
30
  "import"
31
31
  ],
32
32
  "rules": {
33
- "@stylistic/js/object-curly-spacing": [
33
+ "@stylistic/object-curly-spacing": [
34
34
  "error",
35
- "always"
35
+ "always",
36
+ { emptyObjects: "never" }
36
37
  ],
37
- "@stylistic/js/indent": [
38
+ "@stylistic/comma-spacing": [
39
+ "error",
40
+ {
41
+ "before": false,
42
+ "after": true
43
+ }
44
+ ],
45
+ "@stylistic/indent": [
38
46
  "error",
39
47
  "tab",
40
48
  {
@@ -49,7 +57,11 @@ module.exports = {
49
57
  'error',
50
58
  { blankLine: 'never', prev: 'import', next: 'import' },
51
59
  ],
52
- "@stylistic/js/quotes": [
60
+ '@stylistic/comma-dangle': [
61
+ 'error',
62
+ "only-multiline"
63
+ ],
64
+ "@stylistic/quotes": [
53
65
  "error",
54
66
  "single",
55
67
  {
@@ -238,7 +250,11 @@ module.exports = {
238
250
  ]
239
251
  }
240
252
  ],
241
- "@typescript-eslint/consistent-type-imports": "error",
253
+ "@typescript-eslint/consistent-type-imports": ["error", {
254
+ "prefer": "type-imports",
255
+ "disallowTypeAnnotations": false,
256
+ "fixStyle": "separate-type-imports"
257
+ }],
242
258
  "curly": "error",
243
259
  "@stylistic/type-annotation-spacing": [
244
260
  "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eagleoutice/eslint-config-flowr",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "description": "Linting rules for flowr and friends",
5
5
  "license": "ISC",
6
6
  "main": "index.js",
@@ -8,18 +8,18 @@
8
8
  "publish-npm": "npm publish --access public"
9
9
  },
10
10
  "peerDependencies": {
11
- "@stylistic/eslint-plugin": "^3.1.0",
12
- "@stylistic/eslint-plugin-js": "^3.1.0",
13
- "@stylistic/eslint-plugin-plus": "^3.1.0",
14
- "@stylistic/eslint-plugin-ts": "^3.1.0",
15
- "@typescript-eslint/eslint-plugin": "^8.24.0",
16
- "eslint": "^9.20.1",
17
- "eslint-plugin-check-file": "^3.0.0",
18
- "eslint-plugin-import": "^2.31.0",
19
- "eslint-plugin-n": "^17.15.1",
11
+ "@stylistic/eslint-plugin": "^5.7.1",
12
+ "@stylistic/eslint-plugin-js": "^4.4.1",
13
+ "@stylistic/eslint-plugin-plus": "^4.4.1",
14
+ "@stylistic/eslint-plugin-ts": "^4.4.1",
15
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
16
+ "eslint": "^9.39.2",
17
+ "eslint-plugin-check-file": "^3.3.1",
18
+ "eslint-plugin-import": "^2.32.0",
19
+ "eslint-plugin-n": "^17.23.2",
20
20
  "eslint-plugin-promise": "^7.2.1",
21
- "eslint-plugin-tsdoc": "^0.4.0",
22
- "eslint-plugin-unused-imports": "^4.1.4",
23
- "eslint-plugin-jsdoc": "^61.1.12"
21
+ "eslint-plugin-tsdoc": "^0.5.0",
22
+ "eslint-plugin-unused-imports": "^4.3.0",
23
+ "eslint-plugin-jsdoc": "^62.5.0"
24
24
  }
25
25
  }