@naturalcycles/dev-lib 20.35.1 → 20.35.3
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.json +5 -0
- package/package.json +2 -2
package/cfg/oxlint.config.json
CHANGED
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@stylistic/lines-between-class-members": [2, "always", { "exceptAfterSingleLine": true }],
|
|
37
37
|
"complexity": [2, { "max": 40 }],
|
|
38
38
|
"no-this-alias": 0,
|
|
39
|
+
"no-shadow": 0, // too many shadows in the codebase already
|
|
39
40
|
"no-async-promise-executor": 0,
|
|
40
41
|
"no-standalone-expect": 0,
|
|
41
42
|
"no-conditional-expect": 0,
|
|
@@ -96,6 +97,7 @@
|
|
|
96
97
|
"oxc/approx-constant": 2,
|
|
97
98
|
"oxc/misrefactored-assign-op": 2,
|
|
98
99
|
"promise/spec-only": 2,
|
|
100
|
+
"typescript/class-literal-property-style": 2,
|
|
99
101
|
"typescript/explicit-function-return-type": [2, { "allowExpressions": true }],
|
|
100
102
|
// "typescript/explicit-module-boundary-types": [2, {"allowArgumentsExplicitlyTypedAsAny": true}]
|
|
101
103
|
"typescript/no-empty-object-type": [2, { "allowInterfaces": "always" }],
|
|
@@ -127,7 +129,10 @@
|
|
|
127
129
|
"typescript/ban-ts-comment": [
|
|
128
130
|
2,
|
|
129
131
|
{
|
|
132
|
+
"minimumDescriptionLength": 2,
|
|
130
133
|
"ts-expect-error": "allow-with-description",
|
|
134
|
+
"ts-nocheck": "allow-with-description",
|
|
135
|
+
"ts-check": false,
|
|
131
136
|
"ts-ignore": true
|
|
132
137
|
}
|
|
133
138
|
],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "20.35.
|
|
4
|
+
"version": "20.35.3",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"prompts": "^2",
|
|
7
7
|
"@naturalcycles/js-lib": "^15",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"lint-staged": "^16",
|
|
13
13
|
"micromatch": "^4",
|
|
14
14
|
"oxfmt": "^0",
|
|
15
|
-
"oxlint": "
|
|
15
|
+
"oxlint": "1.47.0",
|
|
16
16
|
"oxlint-tsgolint": "^0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|