@nemigo/configs 2.7.0 → 2.7.1
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 +6 -0
- package/package.json +6 -6
package/dist/eslint/index.js
CHANGED
|
@@ -227,12 +227,18 @@ export const defineEslintConfig = (options, ...rest) => {
|
|
|
227
227
|
"symbol-description": 0,
|
|
228
228
|
// Любое количество классов в файле
|
|
229
229
|
"max-classes-per-file": 0,
|
|
230
|
+
// Чаще мешает (new IfUpperCase())
|
|
231
|
+
"new-cap": 0,
|
|
230
232
|
// Дублирующиеся или избыточные типы (например, 0 | TimeStamp)
|
|
231
233
|
"@typescript-eslint/no-duplicate-type-constituents": 0,
|
|
232
234
|
"@typescript-eslint/no-redundant-type-constituents": 0,
|
|
233
235
|
// Сохранение this в идентификатор
|
|
234
236
|
"consistent-this": 0,
|
|
235
237
|
"unicorn/no-this-assignment": 0,
|
|
238
|
+
// Думает на всё, что это массивы из-за аналогичных названий методов
|
|
239
|
+
"unicorn/no-array-method-this-argument": 0,
|
|
240
|
+
// Очень мешает читаемости
|
|
241
|
+
"unicorn/template-indent": 0,
|
|
236
242
|
// Убираем странный приоритет у string.replaceAll() над string.replace()
|
|
237
243
|
"unicorn/prefer-string-replace-all": 0,
|
|
238
244
|
// Фоллбэк {} для объектов при деструктуризация
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemigo/configs",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": {
|
|
@@ -77,18 +77,18 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@eslint/compat": "2.0.
|
|
81
|
-
"@eslint/config-helpers": "0.5.
|
|
80
|
+
"@eslint/compat": "2.0.2",
|
|
81
|
+
"@eslint/config-helpers": "0.5.2",
|
|
82
82
|
"@eslint/core": "1.0.1",
|
|
83
83
|
"@eslint/js": "9.39.2",
|
|
84
84
|
"@types/eslint": "9.6.1",
|
|
85
85
|
"eslint-plugin-svelte": "3.14.0",
|
|
86
86
|
"eslint-plugin-unicorn": "62.0.0",
|
|
87
|
-
"globals": "17.
|
|
87
|
+
"globals": "17.3.0",
|
|
88
88
|
"prettier-plugin-css-order": "2.2.0",
|
|
89
|
-
"prettier-plugin-multiline-arrays": "4.1.
|
|
89
|
+
"prettier-plugin-multiline-arrays": "4.1.4",
|
|
90
90
|
"prettier-plugin-svelte": "3.4.1",
|
|
91
91
|
"prettier-plugin-tailwindcss": "0.7.2",
|
|
92
|
-
"typescript-eslint": "8.
|
|
92
|
+
"typescript-eslint": "8.55.0"
|
|
93
93
|
}
|
|
94
94
|
}
|