@aneuhold/eslint-config 1.3.20 → 2.0.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.
- package/package.json +11 -11
- package/src/ts-lib-config.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aneuhold/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Main ESLint Configuration for personal projects",
|
|
5
5
|
"main": "./src/ts-lib-config.js",
|
|
6
6
|
"packageManager": "pnpm@10.21.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@eslint/js": "^9.39.1",
|
|
39
|
-
"@next/eslint-plugin-next": "^16.0.
|
|
39
|
+
"@next/eslint-plugin-next": "^16.0.6",
|
|
40
40
|
"@stylistic/eslint-plugin-js": "^4.4.1",
|
|
41
41
|
"@stylistic/eslint-plugin-ts": "^4.4.1",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
43
|
-
"@typescript-eslint/parser": "^8.
|
|
44
|
-
"angular-eslint": "^
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
43
|
+
"@typescript-eslint/parser": "^8.48.1",
|
|
44
|
+
"angular-eslint": "^21.0.1",
|
|
45
45
|
"eslint-config-prettier": "^10.1.8",
|
|
46
46
|
"eslint-plugin-import": "^2.32.0",
|
|
47
|
-
"eslint-plugin-jsdoc": "^61.1
|
|
47
|
+
"eslint-plugin-jsdoc": "^61.4.1",
|
|
48
48
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
49
49
|
"eslint-plugin-prettier": "^5.5.4",
|
|
50
50
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
55
55
|
"globals": "^16.5.0",
|
|
56
56
|
"prettier-plugin-svelte": "^3.4.0",
|
|
57
|
-
"typescript-eslint": "^8.
|
|
57
|
+
"typescript-eslint": "^8.48.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aneuhold/local-npm-registry": "^0.2.
|
|
61
|
-
"@types/node": "^24.10.
|
|
60
|
+
"@aneuhold/local-npm-registry": "^0.2.18",
|
|
61
|
+
"@types/node": "^24.10.1",
|
|
62
62
|
"eslint": "^9.39.1",
|
|
63
|
-
"prettier": "^3.
|
|
64
|
-
"svelte": "^5.
|
|
63
|
+
"prettier": "^3.7.3",
|
|
64
|
+
"svelte": "^5.45.4",
|
|
65
65
|
"typescript": "^5.9.3"
|
|
66
66
|
}
|
|
67
67
|
}
|
package/src/ts-lib-config.js
CHANGED
|
@@ -35,6 +35,9 @@ const defaultConfig = defineConfig(
|
|
|
35
35
|
// This provides context to what the class is doing, and allows for
|
|
36
36
|
// better code completion + refactoring.
|
|
37
37
|
'@typescript-eslint/no-extraneous-class': 'off',
|
|
38
|
+
// Just makes it so that the rule about https://typescript-eslint.io/rules/unbound-method/ can
|
|
39
|
+
// be followed. Otherwise, it doesn't allow you to do the things it suggests to fix the issue.
|
|
40
|
+
'@typescript-eslint/no-invalid-void-type': ['error', { allowAsThisParameter: true }],
|
|
38
41
|
'@typescript-eslint/restrict-template-expressions': [
|
|
39
42
|
'error',
|
|
40
43
|
{
|