@naturalcycles/dev-lib 20.12.5 → 20.12.7
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 +1 -0
- package/cfg/tsconfig.src.json +1 -0
- package/dist/bin/dev-lib.js +4 -4
- package/package.json +2 -2
package/cfg/biome.jsonc
CHANGED
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"useParseIntRadix": "off",
|
|
42
42
|
"noUnusedFunctionParameters": "off", // oxlint
|
|
43
43
|
"noConstantCondition": "off", // ox
|
|
44
|
+
"noUnusedPrivateClassMembers": "off", // buggy in 2.3.6
|
|
44
45
|
// noUnusedImports + noUnusedVariables can replace eslint-plugin-unused-vars!
|
|
45
46
|
"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
|
|
46
47
|
"noUnusedVariables": {
|
package/cfg/tsconfig.src.json
CHANGED
package/dist/bin/dev-lib.js
CHANGED
|
@@ -65,7 +65,7 @@ const commands = [
|
|
|
65
65
|
desc: 'Run "lint-staged", which runs linter on git staged files.',
|
|
66
66
|
},
|
|
67
67
|
{ name: 'eslint', fn: eslintAll, desc: 'Run eslint on all files.' },
|
|
68
|
-
{ name: 'eslint-no-fix',
|
|
68
|
+
{ name: 'eslint-no-fix', cliOnly: true, fn: () => eslintAll({ fix: false }) },
|
|
69
69
|
{
|
|
70
70
|
name: 'eslint --no-fix',
|
|
71
71
|
fn: () => eslintAll({ fix: false }),
|
|
@@ -73,7 +73,7 @@ const commands = [
|
|
|
73
73
|
interactiveOnly: true,
|
|
74
74
|
},
|
|
75
75
|
{ name: 'oxlint', fn: runOxlint, desc: 'Run oxlint on all files.' },
|
|
76
|
-
{ name: 'oxlint-no-fix',
|
|
76
|
+
{ name: 'oxlint-no-fix', cliOnly: true, fn: () => runOxlint(false) },
|
|
77
77
|
{
|
|
78
78
|
name: 'oxlint --no-fix',
|
|
79
79
|
fn: () => runOxlint(false),
|
|
@@ -85,7 +85,7 @@ const commands = [
|
|
|
85
85
|
fn: () => runBiome(),
|
|
86
86
|
desc: 'Run biome linter on all files.',
|
|
87
87
|
},
|
|
88
|
-
{ name: 'biome-no-fix',
|
|
88
|
+
{ name: 'biome-no-fix', cliOnly: true, fn: () => runBiome(false) },
|
|
89
89
|
{
|
|
90
90
|
name: 'biome --no-fix',
|
|
91
91
|
fn: () => runBiome(false),
|
|
@@ -99,7 +99,7 @@ const commands = [
|
|
|
99
99
|
fn: () => stylelintAll(false),
|
|
100
100
|
desc: 'Run stylelint with auto-fix disabled.',
|
|
101
101
|
},
|
|
102
|
-
{ name: 'stylelint-no-fix',
|
|
102
|
+
{ name: 'stylelint-no-fix', cliOnly: true, fn: () => stylelintAll(false) },
|
|
103
103
|
{ name: 'commitlint', fn: runCommitlintCommand, desc: 'Run commitlint.', cliOnly: true },
|
|
104
104
|
new Separator(), // interactive-only
|
|
105
105
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "20.12.
|
|
4
|
+
"version": "20.12.7",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@biomejs/biome": "^2",
|
|
7
7
|
"@commitlint/cli": "^20",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"micromatch": "^4",
|
|
24
24
|
"mitm": "^1",
|
|
25
25
|
"oxlint": "^1",
|
|
26
|
-
"oxlint-tsgolint": "
|
|
26
|
+
"oxlint-tsgolint": "*",
|
|
27
27
|
"prettier": "^3",
|
|
28
28
|
"typescript-eslint": "^8",
|
|
29
29
|
"vue-eslint-parser": "^10"
|