@kayahr/oxlint-config 1.0.2 → 1.0.4
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/.oxlintrc.json +9 -6
- package/package.json +2 -2
package/.oxlintrc.json
CHANGED
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"eslint/max-lines-per-function": "off",
|
|
47
47
|
"eslint/max-params": "off",
|
|
48
48
|
"eslint/no-await-in-loop": "off",
|
|
49
|
+
"eslint/no-console": "off",
|
|
49
50
|
"eslint/no-continue": "off",
|
|
50
51
|
"eslint/no-empty-function": "off",
|
|
51
52
|
"eslint/no-eq-null": "off",
|
|
@@ -53,21 +54,19 @@
|
|
|
53
54
|
"eslint/no-plusplus": "off",
|
|
54
55
|
"eslint/no-ternary": "off",
|
|
55
56
|
"eslint/no-undefined": "off",
|
|
57
|
+
"eslint/no-void": "off",
|
|
56
58
|
"eslint/prefer-destructuring": "off",
|
|
57
59
|
"eslint/radix": "off",
|
|
58
60
|
"eslint/require-await": "off",
|
|
59
61
|
"eslint/sort-imports": "off",
|
|
60
62
|
"eslint/sort-keys": "off",
|
|
61
|
-
"import/consistent-type-specifier-style":
|
|
62
|
-
"warn",
|
|
63
|
-
"prefer-inline"
|
|
64
|
-
],
|
|
63
|
+
"import/consistent-type-specifier-style": "off",
|
|
65
64
|
"import/exports-last": "off",
|
|
66
65
|
"import/extensions": "off",
|
|
67
66
|
"import/group-exports": "off",
|
|
68
67
|
"import/no-namespace": "off",
|
|
69
68
|
"import/prefer-default-export": "off",
|
|
70
|
-
"jsdoc/require-param": "
|
|
69
|
+
"jsdoc/require-param": "off",
|
|
71
70
|
"jsdoc/require-param-type": "off",
|
|
72
71
|
"jsdoc/require-returns-type": "off",
|
|
73
72
|
"oxc/no-async-await": "off",
|
|
@@ -76,6 +75,7 @@
|
|
|
76
75
|
"oxc/no-rest-spread-properties": "off",
|
|
77
76
|
"promise/avoid-new": "off",
|
|
78
77
|
"promise/prefer-await-to-callbacks": "off",
|
|
78
|
+
"promise/prefer-await-to-then": "off",
|
|
79
79
|
"typescript/array-type": [
|
|
80
80
|
"warn",
|
|
81
81
|
{
|
|
@@ -100,9 +100,12 @@
|
|
|
100
100
|
"multipleFileExtensions": true
|
|
101
101
|
}
|
|
102
102
|
],
|
|
103
|
+
"unicorn/no-await-expression-member": "off",
|
|
103
104
|
"unicorn/no-null": "off",
|
|
104
105
|
"unicorn/prefer-event-target": "off",
|
|
105
106
|
"unicorn/prefer-node-protocol": "warn",
|
|
106
|
-
"unicorn/prefer-number-properties": "off"
|
|
107
|
+
"unicorn/prefer-number-properties": "off",
|
|
108
|
+
"unicorn/prefer-string-raw": "off",
|
|
109
|
+
"unicorn/switch-case-braces": "off"
|
|
107
110
|
}
|
|
108
111
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kayahr/oxlint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Shared oxlint config for @kayahr projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./.oxlintrc.json",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@kayahr/cspell": "9.2.1-bundle.2",
|
|
26
|
-
"@kayahr/npm-utils": "0.0.
|
|
26
|
+
"@kayahr/npm-utils": "0.0.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"oxlint": "^1.18.0",
|