@naturalcycles/dev-lib 20.42.1 → 20.43.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.
@@ -50,7 +50,13 @@ if (eslintConfigPath) {
50
50
  let oxlintCmd = undefined
51
51
 
52
52
  if (oxlintConfigPath) {
53
- oxlintCmd = ['oxlint', '--fix', '--fix-suggestions', '--fix-dangerously']
53
+ oxlintCmd = [
54
+ 'oxlint',
55
+ '--fix',
56
+ '--fix-suggestions',
57
+ '--fix-dangerously',
58
+ '--no-error-on-unmatched-pattern',
59
+ ]
54
60
  .filter(Boolean)
55
61
  .join(' ')
56
62
  }
@@ -150,6 +150,8 @@ export const sharedConfig = {
150
150
  'promise/spec-only': 2,
151
151
  'typescript/class-literal-property-style': 2,
152
152
  'typescript/consistent-type-exports': 2,
153
+ 'typescript/no-unnecessary-type-parameters': 0, // interesting, but I still disagree with it
154
+ 'typescript/no-unnecessary-qualifier': 2,
153
155
  'typescript/explicit-function-return-type': [2, { allowExpressions: true }],
154
156
  // "typescript/explicit-module-boundary-types": [2, {"allowArgumentsExplicitlyTypedAsAny": true}]
155
157
  'typescript/no-empty-object-type': [2, { allowInterfaces: 'always' }],
@@ -202,7 +202,12 @@ export function runOxlint(fix = true) {
202
202
  const oxlintPath = findPackageBinPath('oxlint', 'oxlint');
203
203
  exec2.spawn(oxlintPath, {
204
204
  name: ['oxlint', !fix && '--no-fix'].filter(Boolean).join(' '),
205
- args: [fix && '--fix', fix && '--fix-suggestions', fix && '--fix-dangerously'].filter(_isTruthy),
205
+ args: [
206
+ '--no-error-on-unmatched-pattern',
207
+ fix && '--fix',
208
+ fix && '--fix-suggestions',
209
+ fix && '--fix-dangerously',
210
+ ].filter(_isTruthy),
206
211
  shell: false,
207
212
  });
208
213
  return true;
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.42.1",
4
+ "version": "20.43.1",
5
5
  "dependencies": {
6
- "prompts": "^2",
7
6
  "@naturalcycles/js-lib": "^15",
8
7
  "@naturalcycles/nodejs-lib": "^15",
9
8
  "@vitest/coverage-v8": "^4",
10
9
  "eslint-plugin-oxlint": "^1",
11
10
  "globals": "^17",
12
11
  "lint-staged": "^16",
13
- "picomatch": "^4",
14
12
  "oxfmt": "^0",
15
13
  "oxlint": "^1",
16
14
  "oxlint-tsgolint": "^0",
15
+ "picomatch": "^4",
16
+ "prompts": "^2",
17
17
  "std-env": "^4"
18
18
  },
19
19
  "peerDependencies": {
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@types/node": "^25",
50
50
  "@types/prompts": "^2",
51
- "@typescript/native-preview": "7.0.0-dev.20260401.1"
51
+ "@typescript/native-preview": "7.0.0-dev.20260415.1"
52
52
  },
53
53
  "exports": {
54
54
  "./cfg/": "./cfg/",