@naturalcycles/dev-lib 20.6.0 → 20.8.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/cfg/biome.jsonc +2 -1
- package/cfg/eslint-rules.js +1 -1
- package/cfg/oxlint.config.json +1 -0
- package/package.json +2 -2
package/cfg/biome.jsonc
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"rules": {
|
|
33
33
|
"recommended": true,
|
|
34
34
|
"performance": {
|
|
35
|
+
"noAccumulatingSpread": "off", // oxlint
|
|
35
36
|
// "useTopLevelRegex": "error" // consider
|
|
36
37
|
"noDelete": "off" // oxlint
|
|
37
38
|
},
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"noUnusedFunctionParameters": "off", // oxlint
|
|
42
43
|
"noConstantCondition": "off", // ox
|
|
43
44
|
// noUnusedImports + noUnusedVariables can replace eslint-plugin-unused-vars!
|
|
44
|
-
"noUnusedImports": "
|
|
45
|
+
"noUnusedImports": "error", // oxlint ignoreVars ^_ pattern also applies to imports named with _ prefix. Support for no-unused-imports tracked here https://github.com/oxc-project/oxc/issues/1117
|
|
45
46
|
"noUnusedVariables": {
|
|
46
47
|
"fix": "none",
|
|
47
48
|
"level": "off", // oxlint
|
package/cfg/eslint-rules.js
CHANGED
|
@@ -308,7 +308,7 @@ export default {
|
|
|
308
308
|
// 2,
|
|
309
309
|
// { vars: 'all', varsIgnorePattern: '^_', args: 'after-used', argsIgnorePattern: '^_' },
|
|
310
310
|
// ],
|
|
311
|
-
'@typescript-eslint/no-duplicate-enum-values':
|
|
311
|
+
'@typescript-eslint/no-duplicate-enum-values': 0, // oxlint
|
|
312
312
|
'@typescript-eslint/no-redundant-type-constituents': 0, // `'a' | string` is still useful for DX
|
|
313
313
|
'@typescript-eslint/no-empty-function': 0,
|
|
314
314
|
'@typescript-eslint/no-var-requires': 0,
|
package/cfg/oxlint.config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "20.
|
|
4
|
+
"version": "20.8.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@biomejs/biome": "^2",
|
|
7
7
|
"@commitlint/cli": "^20",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"eslint-plugin-import-x": "^4",
|
|
18
18
|
"eslint-plugin-oxlint": "^1",
|
|
19
19
|
"eslint-plugin-simple-import-sort": "^12",
|
|
20
|
-
"eslint-plugin-unicorn": "^
|
|
20
|
+
"eslint-plugin-unicorn": "^62",
|
|
21
21
|
"eslint-plugin-vue": "^10",
|
|
22
22
|
"globals": "^16",
|
|
23
23
|
"lint-staged": "^16",
|