@aneuhold/eslint-config 2.0.2 → 2.0.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.
- package/package.json +1 -1
- package/src/svelte-config.js +8 -9
- package/src/ts-lib-config.js +3 -0
package/package.json
CHANGED
package/src/svelte-config.js
CHANGED
|
@@ -111,6 +111,12 @@ export default defineConfig(
|
|
|
111
111
|
// Turned off because it doesn't seem too helpful, and it likes to error
|
|
112
112
|
// on things that seem to be just fine in generics.
|
|
113
113
|
'@typescript-eslint/no-unnecessary-type-parameters': 'off',
|
|
114
|
+
// Disabled due to false positives with Svelte components
|
|
115
|
+
'@typescript-eslint/no-useless-default-assignment': 'off',
|
|
116
|
+
// Disabled because it wasn't working correctly with Svelte snippets
|
|
117
|
+
'@typescript-eslint/no-confusing-void-expression': 'off',
|
|
118
|
+
// Disabled because it doesn't make sense IMO. This should be disabled globally.
|
|
119
|
+
'@typescript-eslint/prefer-literal-enum-member': 'off',
|
|
114
120
|
},
|
|
115
121
|
},
|
|
116
122
|
|
|
@@ -148,15 +154,8 @@ export default defineConfig(
|
|
|
148
154
|
{
|
|
149
155
|
files: ['**/*.svelte'],
|
|
150
156
|
rules: {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
{
|
|
154
|
-
ignoreGoto: false,
|
|
155
|
-
ignoreLinks: true,
|
|
156
|
-
ignorePushState: false,
|
|
157
|
-
ignoreReplaceState: false,
|
|
158
|
-
},
|
|
159
|
-
],
|
|
157
|
+
// Disabling this because we have a bunch of dynamic routes
|
|
158
|
+
'svelte/no-navigation-without-resolve': 'off',
|
|
160
159
|
},
|
|
161
160
|
},
|
|
162
161
|
|
package/src/ts-lib-config.js
CHANGED
|
@@ -27,6 +27,9 @@ const defaultConfig = defineConfig(
|
|
|
27
27
|
// Makes it so that there's 1 line above tags in jsdoc comments.
|
|
28
28
|
'jsdoc/tag-lines': ['error', 'any', { startLines: 1 }],
|
|
29
29
|
'jsdoc/require-returns': 'off',
|
|
30
|
+
// Disabled because it doesn't seem to support triple back-tick code blocks at the moment
|
|
31
|
+
// 2/21/2026.
|
|
32
|
+
'jsdoc/escape-inline-tags': 'off',
|
|
30
33
|
'no-use-before-define': 'off',
|
|
31
34
|
'no-undef': 'off',
|
|
32
35
|
// Just 100% disagree with this rule. The reasoning is that using a
|