@naturalcycles/dev-lib 20.15.0 → 20.16.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.
@@ -136,6 +136,8 @@ function getConfig(_tsconfigPath) {
136
136
  ...eslintPrettierRules.rules, // disable eslint rules already covered by prettier
137
137
  ...eslintBiomeRules.rules, // disable eslint rules already covered by biome
138
138
  ...eslintPluginOxlint.configs['flat/all'][0].rules, // disable eslint rules already covered by oxlint
139
+ // rules that are disabled, but shouldn't yet be disabled
140
+ '@typescript-eslint/return-await': [2, 'always'],
139
141
  },
140
142
  }
141
143
  }
@@ -67,6 +67,7 @@ let oxlintCmd = undefined
67
67
  if (oxlintConfigPath) {
68
68
  oxlintCmd = [
69
69
  'oxlint',
70
+ // '--report-unused-disable-directives', // wrongly reports disabled eslint (not oxlint) rules
70
71
  '--type-aware',
71
72
  '--type-check',
72
73
  '--fix',
@@ -159,6 +159,7 @@
159
159
  }
160
160
  ],
161
161
  "unicorn/no-anonymous-default-export": 2,
162
+ "unicorn/no-immediate-mutation": 2,
162
163
  "unicorn/no-array-reduce": 2,
163
164
  "unicorn/no-document-cookie": 2,
164
165
  "unicorn/no-length-as-slice-end": 2,
@@ -166,6 +167,7 @@
166
167
  "unicorn/prefer-modern-math-apis": 2,
167
168
  "unicorn/prefer-node-protocol": 2,
168
169
  "unicorn/require-module-specifiers": 2,
170
+ "unicorn/require-module-attributes": 2,
169
171
  "unicorn/prefer-classlist-toggle": 2,
170
172
  "unicorn/no-unnecessary-array-splice-count": 2,
171
173
  "unicorn/no-useless-error-capture-stack-trace": 2,
@@ -285,8 +287,9 @@
285
287
  "jest/max-nested-describe": [0, { "max": 4 }], // not good
286
288
  "jest/no-alias-methods": 2,
287
289
  "vue/no-multiple-slot-args": 2,
290
+ "vue/no-deprecated-destroyed-lifecycle": 2,
288
291
  "vue/define-emits-declaration": [2, "type-based"],
289
- "vue/define-props-declaration": [2]
292
+ "vue/define-props-declaration": 2
290
293
  },
291
294
  "settings": {
292
295
  "jsdoc": {
package/dist/lint.util.js CHANGED
@@ -140,7 +140,7 @@ export function runOxlint(fix = true) {
140
140
  exec2.spawn(oxlintPath, {
141
141
  name: ['oxlint', !fix && '--no-fix'].filter(Boolean).join(' '),
142
142
  args: [
143
- // '--report-unused-disable-directives',
143
+ // '--report-unused-disable-directives', // wrongly reports disabled eslint (not oxlint) rules
144
144
  '--max-warnings=0',
145
145
  '--type-aware',
146
146
  '--type-check',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.15.0",
4
+ "version": "20.16.0",
5
5
  "dependencies": {
6
6
  "@biomejs/biome": "^2",
7
7
  "@commitlint/cli": "^20",