@k03mad/oxlint-config 0.0.5 → 0.0.7

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.
Files changed (2) hide show
  1. package/.oxlintrc.json +19 -3
  2. package/package.json +1 -1
package/.oxlintrc.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "$schema": "./node_modules/oxlint/configuration_schema.json",
3
3
  "ignorePatterns": ["node_modules/**"],
4
+
5
+ "env": {
6
+ "browser": true,
7
+ "node": true
8
+ },
9
+
4
10
  "plugins": ["typescript", "eslint", "import", "jsdoc", "node", "oxc", "promise", "unicorn"],
5
11
  "jsPlugins": ["./plugin/plugin.js"],
12
+
6
13
  "categories": {
7
14
  "correctness": "error",
8
15
  "suspicious": "error",
@@ -12,6 +19,7 @@
12
19
  "restriction": "error",
13
20
  "nursery": "error"
14
21
  },
22
+
15
23
  "rules": {
16
24
  "import/extensions": [
17
25
  "error",
@@ -104,20 +112,28 @@
104
112
 
105
113
  // OFF
106
114
 
107
- "oxc/no-optional-chaining": "off",
108
- "oxc/no-rest-spread-properties": "off",
109
-
115
+ "import/group-exports": "off",
110
116
  "import/no-anonymous-default-export": "off",
111
117
  "import/no-default-export": "off",
118
+ "import/no-named-as-default": "off",
112
119
  "import/no-named-export": "off",
113
120
  "import/prefer-default-export": "off",
114
121
 
115
122
  "jsdoc/require-param-description": "off",
116
123
  "jsdoc/require-returns-description": "off",
117
124
 
125
+ "node/no-process-env": "off",
126
+
127
+ "oxc/no-async-await": "off",
128
+ "oxc/no-optional-chaining": "off",
129
+ "oxc/no-rest-spread-properties": "off",
130
+
131
+ "unicorn/no-array-for-each": "off",
118
132
  "unicorn/no-array-reduce": "off",
119
133
  "unicorn/no-null": "off",
120
134
 
135
+ "capitalized-comments": "off",
136
+ "sort-imports": "off",
121
137
  "array-callback-return": "off",
122
138
  "complexity": "off",
123
139
  "id-length": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/oxlint-config",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "My Oxlint config",
5
5
  "license": "MIT",
6
6
  "maintainers": [