@naturalcycles/dev-lib 20.44.1 → 20.45.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/oxlint.config.js +6 -0
- package/package.json +1 -1
package/cfg/oxlint.config.js
CHANGED
|
@@ -42,6 +42,7 @@ export const sharedConfig = {
|
|
|
42
42
|
jsPlugins: [`${import.meta.dirname}/oxlint-plugin-stylistic.mjs`],
|
|
43
43
|
options: {
|
|
44
44
|
reportUnusedDisableDirectives: 'deny',
|
|
45
|
+
respectEslintDisableDirectives: false,
|
|
45
46
|
maxWarnings: 0,
|
|
46
47
|
denyWarnings: true,
|
|
47
48
|
typeAware: true,
|
|
@@ -74,12 +75,16 @@ export const sharedConfig = {
|
|
|
74
75
|
'no-async-promise-executor': 0,
|
|
75
76
|
'no-standalone-expect': 0,
|
|
76
77
|
'no-conditional-expect': 0,
|
|
78
|
+
'vitest/no-conditional-expect': 0,
|
|
77
79
|
'expect-expect': 0,
|
|
80
|
+
'vitest/expect-expect': 0,
|
|
78
81
|
'no-disabled-tests': 0,
|
|
82
|
+
'vitest/no-disabled-tests': 0,
|
|
79
83
|
'no-useless-assignment': 0, // buggy, gives false positives
|
|
80
84
|
'object-shorthand': 2,
|
|
81
85
|
'valid-expect': 0,
|
|
82
86
|
'valid-title': 0,
|
|
87
|
+
'vitest/valid-title': 0,
|
|
83
88
|
'valid-describe-callback': 0,
|
|
84
89
|
'jsdoc/require-yields': 0,
|
|
85
90
|
'no-new-wrappers': 2,
|
|
@@ -147,6 +152,7 @@ export const sharedConfig = {
|
|
|
147
152
|
'oxc/no-const-enum': 2,
|
|
148
153
|
'oxc/approx-constant': 2,
|
|
149
154
|
'oxc/misrefactored-assign-op': 2,
|
|
155
|
+
'oxc/branches-sharing-code': 0, // todo: consider later
|
|
150
156
|
'promise/spec-only': 2,
|
|
151
157
|
'typescript/class-literal-property-style': 2,
|
|
152
158
|
'typescript/consistent-type-exports': 2,
|