lint-rules-alvin 2.1.2 → 2.2.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.
@@ -35,7 +35,7 @@ export const stylistic: TSESLint.FlatConfig.Config = {
35
35
  '@stylistic/arrow-spacing': [
36
36
  'error',
37
37
  {
38
- before: true,
38
+ before: false,
39
39
  after: true
40
40
  }
41
41
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lint-rules-alvin",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "My own personal linting ruleset for a bunch of different plugins. Includes a few custom rules. Used in a few of my repos.",
5
5
  "keywords": [
6
6
  "eslint"
@@ -24,57 +24,57 @@
24
24
  }
25
25
  },
26
26
  "devDependencies": {
27
- "@eslint/compat": "^2.0.1",
28
- "@eslint/js": "^9.39.2",
27
+ "@eslint/compat": "^2.0.3",
28
+ "@eslint/js": "^10.0.1",
29
29
  "@eslint/markdown": "^7.5.1",
30
- "@stylistic/eslint-plugin": "^5.7.0",
30
+ "@stylistic/eslint-plugin": "^5.10.0",
31
31
  "@types/estree": "^1.0.8",
32
32
  "@types/mocha": "^10.0.10",
33
- "@types/node": "^25.0.10",
34
- "@typescript-eslint/eslint-plugin": "^8.53.1",
35
- "@typescript-eslint/parser": "^8.53.1",
36
- "@typescript-eslint/rule-tester": "^8.53.1",
37
- "@typescript-eslint/utils": "^8.53.1",
38
- "astro-eslint-parser": "^1.2.2",
39
- "eslint": "^9.39.2",
33
+ "@types/node": "^25.5.0",
34
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
35
+ "@typescript-eslint/parser": "^8.57.0",
36
+ "@typescript-eslint/rule-tester": "^8.57.0",
37
+ "@typescript-eslint/utils": "^8.57.0",
38
+ "astro-eslint-parser": "^1.3.0",
39
+ "eslint": "^10.0.3",
40
40
  "eslint-import-resolver-typescript": "^4.4.4",
41
- "eslint-plugin-astro": "^1.5.0",
42
- "eslint-plugin-import-x": "^4.16.1",
43
- "eslint-plugin-jsonc": "^2.21.0",
41
+ "eslint-plugin-astro": "^1.6.0",
42
+ "eslint-plugin-import-x": "^4.16.2",
43
+ "eslint-plugin-jsonc": "^3.1.2",
44
44
  "eslint-plugin-react-hooks": "^7.0.1",
45
- "eslint-plugin-svelte": "^3.14.0",
46
- "eslint-plugin-vue": "^10.7.0",
47
- "globals": "^17.0.0",
45
+ "eslint-plugin-svelte": "^3.15.2",
46
+ "eslint-plugin-vue": "^10.8.0",
47
+ "globals": "^17.4.0",
48
48
  "jiti": "^2.6.1",
49
49
  "mocha": "^11.7.5",
50
- "svelte": "^5.48.0",
50
+ "ts-node": "^10.9.2",
51
+ "svelte": "^5.53.11",
51
52
  "typescript": "^5.9.3",
52
- "typescript-eslint": "^8.53.1"
53
+ "typescript-eslint": "^8.57.0"
53
54
  },
54
55
  "peerDependencies": {
55
- "@eslint/compat": "^2.0.1",
56
- "@eslint/js": "^9.39.2",
57
- "@eslint/markdown": "^7.5.1",
58
- "@stylistic/eslint-plugin": "^5.7.0",
59
- "@types/estree": "^1.0.8",
60
- "@types/node": "^25.0.10",
61
- "@typescript-eslint/eslint-plugin": "^8.53.1",
62
- "@typescript-eslint/parser": "^8.53.1",
63
- "@typescript-eslint/utils": "^8.53.1",
64
- "astro-eslint-parser": "^1.2.2",
65
- "eslint": "^9.39.2",
66
- "eslint-import-resolver-typescript": "^4.4.4",
67
- "eslint-plugin-astro": "^1.5.0",
68
- "eslint-plugin-import-x": "^4.16.1",
69
- "eslint-plugin-jsonc": "^2.21.0",
70
- "eslint-plugin-react-hooks": "^7.0.1",
71
- "eslint-plugin-svelte": "^3.14.0",
72
- "eslint-plugin-vue": "^10.7.0",
73
- "globals": "^17.0.0",
74
- "svelte": "^5.48.0",
75
- "ts-node": "^10.9.2",
76
- "typescript": "^5.9.3",
77
- "typescript-eslint": "^8.53.1"
56
+ "@eslint/compat": "^2",
57
+ "@eslint/js": "^10",
58
+ "@eslint/markdown": "^7",
59
+ "@stylistic/eslint-plugin": "^5",
60
+ "@types/estree": "^1",
61
+ "@types/node": "^25",
62
+ "@typescript-eslint/eslint-plugin": "^8",
63
+ "@typescript-eslint/parser": "^8",
64
+ "@typescript-eslint/utils": "^8",
65
+ "astro-eslint-parser": "^1",
66
+ "eslint": "^10",
67
+ "eslint-import-resolver-typescript": "^4",
68
+ "eslint-plugin-astro": "^1",
69
+ "eslint-plugin-import-x": "^4",
70
+ "eslint-plugin-jsonc": "^3",
71
+ "eslint-plugin-react-hooks": "^7",
72
+ "eslint-plugin-svelte": "^3",
73
+ "eslint-plugin-vue": "^10",
74
+ "globals": "^17",
75
+ "svelte": "^5",
76
+ "typescript": "^5",
77
+ "typescript-eslint": "^8"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "@eslint/compat": {
@@ -86,9 +86,6 @@
86
86
  "@stylistic/eslint-plugin": {
87
87
  "optional": true
88
88
  },
89
- "@types/eslint-plugin-markdown": {
90
- "optional": true
91
- },
92
89
  "@types/estree": {
93
90
  "optional": true
94
91
  },
@@ -122,9 +119,6 @@
122
119
  "eslint-plugin-jsonc": {
123
120
  "optional": true
124
121
  },
125
- "eslint-plugin-markdown": {
126
- "optional": true
127
- },
128
122
  "eslint-plugin-react-hooks": {
129
123
  "optional": true
130
124
  },
@@ -147,6 +141,10 @@
147
141
  "optional": true
148
142
  }
149
143
  },
144
+ "overrides": {
145
+ "diff": "^8.0.3",
146
+ "serialize-javascript": "^7.0.4"
147
+ },
150
148
  "scripts": {
151
149
  "test": "npm run test:eslint",
152
150
  "test:eslint": "node --no-warnings --import ./test/eslint/test-bootstrap.mjs ./node_modules/mocha/bin/mocha --extensions ts --recursive \"test/**/*.test.ts\""