@snowyyd/eslint-config 2.2.2 → 2.2.3

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/dist/personal.js +14 -1
  2. package/package.json +11 -11
package/dist/personal.js CHANGED
@@ -67,7 +67,20 @@ export default (plugin, parser) => [
67
67
  '@stylistic/quotes': ['error', 'single', { avoidEscape: true }],
68
68
  '@stylistic/comma-dangle': ['error', 'always-multiline'],
69
69
  '@stylistic/lines-between-class-members': 'off',
70
- // TypeScript
70
+ },
71
+ },
72
+ {
73
+ name: '@snowyyd/eslint-config-x/personal-ts',
74
+ files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
75
+ rules: {
76
+ /**
77
+ * best practices
78
+ */
79
+ // this is defined in airbnb-ts but is also checked by TypeScript itself
80
+ '@typescript-eslint/no-redeclare': 'off',
81
+ /**
82
+ * styling & formatting
83
+ */
71
84
  '@stylistic/type-annotation-spacing': 'error',
72
85
  '@stylistic/type-generic-spacing': 'error',
73
86
  '@stylistic/member-delimiter-style': ['error', {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@snowyyd/eslint-config",
3
3
  "description": "Personal TypeScript ESLint configs",
4
- "version": "2.2.2",
4
+ "version": "2.2.3",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/snowyyd/eslint-config-x#readme",
7
7
  "repository": "https://github.com/snowyyd/eslint-config-x.git",
@@ -14,32 +14,32 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@eslint/config-inspector": "^1.1.0",
17
- "@eslint/js": "^9.30.1",
18
- "@stylistic/eslint-plugin": "^5.1.0",
17
+ "@eslint/js": "^9.31.0",
18
+ "@stylistic/eslint-plugin": "^5.2.2",
19
19
  "@types/confusing-browser-globals": "^1.0.3",
20
20
  "@types/lodash": "^4.17.20",
21
- "@types/node": "^24.0.10",
22
- "@typescript-eslint/eslint-plugin": "^8.36.0",
23
- "@typescript-eslint/utils": "^8.36.0",
21
+ "@types/node": "^24.1.0",
22
+ "@typescript-eslint/eslint-plugin": "^8.38.0",
23
+ "@typescript-eslint/utils": "^8.38.0",
24
24
  "chalk": "^5.4.1",
25
25
  "confusing-browser-globals": "^1.0.11",
26
- "eslint": "^9.30.1",
26
+ "eslint": "^9.31.0",
27
27
  "eslint-plugin-import-x": "^4.16.1",
28
28
  "eslint-plugin-n": "^17.21.0",
29
29
  "globals": "^16.3.0",
30
30
  "lodash": "^4.17.21",
31
31
  "tsx": "^4.20.3",
32
32
  "typescript": "^5.8.3",
33
- "typescript-eslint": "^8.36.0"
33
+ "typescript-eslint": "^8.38.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@eslint/js": "^9.30.1",
37
- "@stylistic/eslint-plugin": "^5.1.0",
36
+ "@eslint/js": "^9.31.0",
37
+ "@stylistic/eslint-plugin": "^5.2.2",
38
38
  "confusing-browser-globals": "^1.0.11",
39
39
  "eslint-plugin-import-x": "^4.16.1",
40
40
  "eslint-plugin-n": "^17.21.0",
41
41
  "globals": "^16.3.0",
42
- "typescript-eslint": "^8.36.0"
42
+ "typescript-eslint": "^8.38.0"
43
43
  },
44
44
  "scripts": {
45
45
  "inspect": "pnpm eslint-config-inspector",