@k03mad/oxlint-config 0.0.8 → 0.0.10
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 +5 -5
- package/README.md +4 -1
- package/package.json +1 -1
package/.oxlintrc.json
CHANGED
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
3
|
"ignorePatterns": ["node_modules/**"],
|
|
4
4
|
|
|
5
|
-
"env": {
|
|
6
|
-
"browser": true,
|
|
7
|
-
"node": true
|
|
8
|
-
},
|
|
9
|
-
|
|
10
5
|
"plugins": ["typescript", "eslint", "import", "jsdoc", "node", "oxc", "promise", "unicorn"],
|
|
11
6
|
"jsPlugins": ["./plugin/plugin.js"],
|
|
12
7
|
|
|
@@ -117,14 +112,18 @@
|
|
|
117
112
|
"import/no-default-export": "off",
|
|
118
113
|
"import/no-named-as-default": "off",
|
|
119
114
|
"import/no-named-export": "off",
|
|
115
|
+
"import/no-nodejs-modules": "off",
|
|
116
|
+
"import/no-relative-parent-imports": "off",
|
|
120
117
|
"import/prefer-default-export": "off",
|
|
121
118
|
|
|
122
119
|
"jsdoc/require-param-description": "off",
|
|
123
120
|
"jsdoc/require-returns-description": "off",
|
|
121
|
+
"jsdoc/require-returns": "off",
|
|
124
122
|
|
|
125
123
|
"node/no-process-env": "off",
|
|
126
124
|
|
|
127
125
|
"oxc/no-async-await": "off",
|
|
126
|
+
"oxc/no-async-endpoint-handlers": "off",
|
|
128
127
|
"oxc/no-optional-chaining": "off",
|
|
129
128
|
"oxc/no-rest-spread-properties": "off",
|
|
130
129
|
|
|
@@ -142,6 +141,7 @@
|
|
|
142
141
|
"max-lines": "off",
|
|
143
142
|
"max-params": "off",
|
|
144
143
|
"max-statements": "off",
|
|
144
|
+
"no-console": "off",
|
|
145
145
|
"no-magic-numbers": "off",
|
|
146
146
|
"no-plusplus": "off",
|
|
147
147
|
"no-ternary": "off",
|
package/README.md
CHANGED
|
@@ -11,7 +11,10 @@ npm i --save-dev --save-exact oxlint oxfmt @k03mad/oxlint-config
|
|
|
11
11
|
```json
|
|
12
12
|
{
|
|
13
13
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
14
|
-
"extends": ["./node_modules/@k03mad/oxlint-config/.oxlintrc.json"]
|
|
14
|
+
"extends": ["./node_modules/@k03mad/oxlint-config/.oxlintrc.json"],
|
|
15
|
+
"env": {
|
|
16
|
+
"node": true
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
19
|
```
|
|
17
20
|
|