@kayahr/oxlint-config 1.9.0 → 1.11.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.
Files changed (2) hide show
  1. package/.oxlintrc.json +19 -12
  2. package/package.json +3 -3
package/.oxlintrc.json CHANGED
@@ -16,7 +16,8 @@
16
16
  "overrides": [
17
17
  {
18
18
  "files": [
19
- "**/*.test.ts"
19
+ "**/*.test.ts",
20
+ "**/*.test.tsx"
20
21
  ],
21
22
  "rules": {
22
23
  "no-floating-promises": "off"
@@ -37,6 +38,7 @@
37
38
  ],
38
39
  "rules": {
39
40
  "eslint/class-methods-use-this": "off",
41
+ "eslint/default-case": "off",
40
42
  "eslint/eqeqeq": [
41
43
  "warn",
42
44
  "always",
@@ -60,6 +62,7 @@
60
62
  "eslint/no-eq-null": "off",
61
63
  "eslint/no-magic-numbers": "off",
62
64
  "eslint/no-multi-assign": "off",
65
+ "eslint/no-nested-ternary": "off",
63
66
  "eslint/no-param-reassign": "off",
64
67
  "eslint/no-plusplus": "off",
65
68
  "eslint/no-return-assign": "off",
@@ -90,13 +93,16 @@
90
93
  "jsdoc/require-param": "off",
91
94
  "jsdoc/require-param-type": "off",
92
95
  "jsdoc/require-returns-type": "off",
96
+ "jsx-a11y/anchor-is-valid": "off",
93
97
  "node/no-process-env": "off",
94
98
  "oxc/no-async-await": "off",
99
+ "oxc/no-map-spread": "off",
95
100
  "oxc/no-optional-chaining": "off",
96
101
  "oxc/no-reset-spread-properties": "off",
97
102
  "oxc/no-rest-spread-properties": "off",
98
103
  "promise/avoid-new": "off",
99
104
  "promise/no-multiple-resolved": "off",
105
+ "promise/param-names": "off",
100
106
  "promise/prefer-await-to-callbacks": "off",
101
107
  "promise/prefer-await-to-then": "off",
102
108
  "typescript/array-type": [
@@ -109,6 +115,7 @@
109
115
  "typescript/explicit-function-return-type": "off",
110
116
  "typescript/no-base-to-string": "off",
111
117
  "typescript/no-explicit-any": "off",
118
+ "typescript/no-extraneous-class": "off",
112
119
  "typescript/no-misused-spread": "off",
113
120
  "typescript/no-non-null-assertion": "off",
114
121
  "typescript/no-this-alias": "off",
@@ -118,25 +125,25 @@
118
125
  "typescript/restrict-template-expressions": "off",
119
126
  "typescript/unbound-method": "off",
120
127
  "unicorn/consistent-function-scoping": "off",
121
- "unicorn/filename-case": [
122
- "warn",
123
- {
124
- "cases": {
125
- "camelCase": true,
126
- "kebabCase": true,
127
- "pascalCase": true
128
- },
129
- "multipleFileExtensions": true
130
- }
131
- ],
128
+ "unicorn/filename-case": "off",
132
129
  "unicorn/no-array-for-each": "off",
133
130
  "unicorn/no-array-method-this-argument": "off",
134
131
  "unicorn/no-array-reduce": "off",
135
132
  "unicorn/no-array-reverse": "off",
136
133
  "unicorn/no-array-sort": "off",
137
134
  "unicorn/no-await-expression-member": "off",
135
+ "typescript/consistent-type-definitions": "off",
136
+ "typescript/no-dynamic-delete": "off",
137
+ "typescript/no-empty-interface": [
138
+ "warn", {
139
+ "allow_single_extends": true
140
+ }
141
+ ],
142
+ "typescript/no-empty-object-type": "off",
143
+ "typescript/no-namespace": "off",
138
144
  "unicorn/no-instanceof-builtins": "off",
139
145
  "unicorn/no-null": "off",
146
+ "unicorn/no-process-exit": "off",
140
147
  "unicorn/number-literal-case": "off",
141
148
  "unicorn/numeric-separators-style": "off",
142
149
  "unicorn/prefer-event-target": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kayahr/oxlint-config",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "Shared oxlint config for @kayahr projects",
5
5
  "type": "module",
6
6
  "exports": "./.oxlintrc.json",
@@ -23,8 +23,8 @@
23
23
  ],
24
24
  "devDependencies": {
25
25
  "@kayahr/cspell": "9.2.2-bundle.1",
26
- "@kayahr/npm-utils": "1.1.0",
27
- "@types/node": "24.9.2",
26
+ "@kayahr/npm-utils": "1.1.1",
27
+ "@types/node": "24.10.0",
28
28
  "typescript": "5.9.3"
29
29
  },
30
30
  "dependencies": {