@naturalcycles/dev-lib 15.7.0 → 15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3
3
  "files": {
4
- "ignore": ["**/__exclude", "*.compact.json"]
4
+ "ignore": ["**/__exclude", "**/try.ts", "*.compact.json"]
5
5
  },
6
6
  "formatter": {
7
7
  "enabled": true,
@@ -73,5 +73,18 @@
73
73
  "attributePosition": "auto"
74
74
  }
75
75
  },
76
- "overrides": [{ "include": ["tsconfig.json", "tsconfig.*.json"] }]
76
+ "overrides": [
77
+ {
78
+ "include": ["*.vue"],
79
+ "linter": {
80
+ "rules": {
81
+ "correctness": {
82
+ // doesn't work well with *.vue files
83
+ "noUnusedImports": "off",
84
+ "noUnusedVariables": "off"
85
+ }
86
+ }
87
+ }
88
+ }
89
+ ]
77
90
  }
package/dist/lint.util.js CHANGED
@@ -247,7 +247,7 @@ function runBiome(verbose = false, fix = true) {
247
247
  }
248
248
  function canRunBinary(name) {
249
249
  try {
250
- execSync(`which ${name}`);
250
+ node_child_process_1.default.execSync(`which ${name}`);
251
251
  return true;
252
252
  }
253
253
  catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "15.7.0",
3
+ "version": "15.8.0",
4
4
  "scripts": {
5
5
  "prepare": "husky",
6
6
  "tsn-debug": "tsn testScript.ts",