@nemigo/configs 2.4.2 → 2.6.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/dist/eslint/index.js +8 -2
- package/dist/vite/proxy.js +0 -1
- package/package.json +2 -2
package/dist/eslint/index.js
CHANGED
|
@@ -90,10 +90,10 @@ export const defineEslintConfig = (options, ...rest) => {
|
|
|
90
90
|
"@typescript-eslint/no-unused-expressions": 0,
|
|
91
91
|
// обработчики внутри вёрстки
|
|
92
92
|
"no-shadow": 0,
|
|
93
|
+
// для $props()
|
|
94
|
+
"prefer-const": 0,
|
|
93
95
|
// {@html content}
|
|
94
96
|
"svelte/no-at-html-tags": 0,
|
|
95
|
-
// goto(url)
|
|
96
|
-
"svelte/no-navigation-without-resolve": 0,
|
|
97
97
|
// example: new Map instead SvelteMap
|
|
98
98
|
"svelte/prefer-svelte-reactivity": 0,
|
|
99
99
|
},
|
|
@@ -107,6 +107,12 @@ export const defineEslintConfig = (options, ...rest) => {
|
|
|
107
107
|
},
|
|
108
108
|
},
|
|
109
109
|
rules: {
|
|
110
|
+
// Свободу асинхронности
|
|
111
|
+
"require-atomic-updates": 0,
|
|
112
|
+
// Присвоение аргументам
|
|
113
|
+
"no-param-reassign": 0,
|
|
114
|
+
// goto(url)
|
|
115
|
+
"svelte/no-navigation-without-resolve": 0,
|
|
110
116
|
// Статические классы
|
|
111
117
|
"@typescript-eslint/no-extraneous-class": 0,
|
|
112
118
|
"unicorn/no-static-only-class": 0,
|
package/dist/vite/proxy.js
CHANGED
|
@@ -22,7 +22,6 @@ export const defineViteProxyConfig = (options) => {
|
|
|
22
22
|
const mins = pad(now.getMinutes());
|
|
23
23
|
const secs = pad(now.getSeconds());
|
|
24
24
|
const PROXY = "\u001B[1m\u001B[96m[PROXY]\u001B[0m\u001B[22m";
|
|
25
|
-
// oxlint-disable-next-line no-console
|
|
26
25
|
// eslint-disable-next-line no-console
|
|
27
26
|
console.log(`${hours}:${mins}:${secs} ${PROXY} ${options.domain} \n`);
|
|
28
27
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nemigo/configs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"author": {
|
|
@@ -89,6 +89,6 @@
|
|
|
89
89
|
"prettier-plugin-multiline-arrays": "4.1.3",
|
|
90
90
|
"prettier-plugin-svelte": "3.4.1",
|
|
91
91
|
"prettier-plugin-tailwindcss": "0.7.2",
|
|
92
|
-
"typescript-eslint": "8.50.
|
|
92
|
+
"typescript-eslint": "8.50.1"
|
|
93
93
|
}
|
|
94
94
|
}
|