@nemigo/configs 2.2.0 → 2.2.2
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 +5 -1
- package/package.json +2 -2
package/dist/eslint/index.js
CHANGED
|
@@ -84,6 +84,7 @@ export const defineEslintConfig = (options, ...rest) => {
|
|
|
84
84
|
},
|
|
85
85
|
},
|
|
86
86
|
rules: {
|
|
87
|
+
"@typescript-eslint/no-unused-expressions": 0,
|
|
87
88
|
"svelte/no-at-html-tags": 0,
|
|
88
89
|
"svelte/no-navigation-without-resolve": 0,
|
|
89
90
|
"svelte/prefer-svelte-reactivity": 0,
|
|
@@ -210,7 +211,10 @@ export const defineEslintConfig = (options, ...rest) => {
|
|
|
210
211
|
// Дублирующиеся или избыточные типы (например, 0 | TimeStamp)
|
|
211
212
|
"@typescript-eslint/no-duplicate-type-constituents": 0,
|
|
212
213
|
"@typescript-eslint/no-redundant-type-constituents": 0,
|
|
213
|
-
//
|
|
214
|
+
// Сохранение this в идентификатор
|
|
215
|
+
"consistent-this": 0,
|
|
216
|
+
"unicorn/no-this-assignment": 0,
|
|
217
|
+
// Убираем странный приоритет у string.replaceAll() над string.replace()
|
|
214
218
|
"unicorn/prefer-string-replace-all": 0,
|
|
215
219
|
// Фоллбэк {} для объектов при деструктуризация
|
|
216
220
|
"unicorn/no-useless-fallback-in-spread": 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemigo/configs",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Vlad Logvin",
|
|
@@ -92,6 +92,6 @@
|
|
|
92
92
|
"prettier-plugin-multiline-arrays": "4.0.3",
|
|
93
93
|
"prettier-plugin-svelte": "3.4.0",
|
|
94
94
|
"prettier-plugin-tailwindcss": "0.7.1",
|
|
95
|
-
"typescript-eslint": "8.
|
|
95
|
+
"typescript-eslint": "8.48.0"
|
|
96
96
|
}
|
|
97
97
|
}
|