@nemigo/configs 2.2.4 → 2.2.6
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/dist/eslint/index.js +9 -0
- package/package.json +1 -1
package/dist/eslint/index.js
CHANGED
|
@@ -84,9 +84,15 @@ export const defineEslintConfig = (options, ...rest) => {
|
|
|
84
84
|
},
|
|
85
85
|
},
|
|
86
86
|
rules: {
|
|
87
|
+
// для сигналов вне untrack
|
|
87
88
|
"@typescript-eslint/no-unused-expressions": 0,
|
|
89
|
+
// обработчики внутри вёрстки
|
|
90
|
+
"no-shadow": 0,
|
|
91
|
+
// {@html content}
|
|
88
92
|
"svelte/no-at-html-tags": 0,
|
|
93
|
+
// goto(url)
|
|
89
94
|
"svelte/no-navigation-without-resolve": 0,
|
|
95
|
+
// example: new Map instead SvelteMap
|
|
90
96
|
"svelte/prefer-svelte-reactivity": 0,
|
|
91
97
|
},
|
|
92
98
|
});
|
|
@@ -99,6 +105,9 @@ export const defineEslintConfig = (options, ...rest) => {
|
|
|
99
105
|
},
|
|
100
106
|
},
|
|
101
107
|
rules: {
|
|
108
|
+
// Статические классы
|
|
109
|
+
"@typescript-eslint/no-extraneous-class": 0,
|
|
110
|
+
"unicorn/no-static-only-class": 0,
|
|
102
111
|
// Вызов неоднозначных any-функций
|
|
103
112
|
"@typescript-eslint/no-unsafe-call": 0,
|
|
104
113
|
// Несколько return у функции
|