@kayahr/oxlint-config 1.2.0 → 1.5.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 +24 -2
  2. package/package.json +4 -3
package/.oxlintrc.json CHANGED
@@ -36,6 +36,7 @@
36
36
  "unicorn"
37
37
  ],
38
38
  "rules": {
39
+ "eslint/class-methods-use-this": "off",
39
40
  "eslint/eqeqeq": [
40
41
  "warn",
41
42
  "always",
@@ -43,6 +44,7 @@
43
44
  "null": "ignore"
44
45
  }
45
46
  ],
47
+ "eslint/func-names": "off",
46
48
  "eslint/func-style": "off",
47
49
  "eslint/id-length": "off",
48
50
  "eslint/init-declarations": "off",
@@ -50,11 +52,13 @@
50
52
  "eslint/max-lines-per-function": "off",
51
53
  "eslint/max-params": "off",
52
54
  "eslint/no-await-in-loop": "off",
55
+ "eslint/no-bitwise": "off",
53
56
  "eslint/no-console": "off",
54
57
  "eslint/no-continue": "off",
55
58
  "eslint/no-empty-function": "off",
56
59
  "eslint/no-eq-null": "off",
57
60
  "eslint/no-magic-numbers": "off",
61
+ "eslint/no-multi-assign": "off",
58
62
  "eslint/no-param-reassign": "off",
59
63
  "eslint/no-plusplus": "off",
60
64
  "eslint/no-ternary": "off",
@@ -63,15 +67,22 @@
63
67
  "eslint/prefer-destructuring": "off",
64
68
  "eslint/radix": "off",
65
69
  "eslint/require-await": "off",
66
- "eslint/sort-imports": "off",
67
70
  "eslint/sort-keys": "off",
68
71
  "import/consistent-type-specifier-style": "off",
69
72
  "import/exports-last": "off",
70
73
  "import/extensions": "off",
71
74
  "import/group-exports": "off",
75
+ "import/no-unassigned-import": "off",
72
76
  "import/no-namespace": "off",
73
77
  "import/no-named-export": "off",
74
78
  "import/prefer-default-export": "off",
79
+ "sort-imports": ["error", {
80
+ "ignoreCase": false,
81
+ "ignoreDeclarationSort": true,
82
+ "ignoreMemberSort": false,
83
+ "memberSyntaxSortOrder": [ "none", "all", "multiple", "single" ],
84
+ "allowSeparatedGroups": false
85
+ }],
75
86
  "jsdoc/require-param": "off",
76
87
  "jsdoc/require-param-type": "off",
77
88
  "jsdoc/require-returns-type": "off",
@@ -80,6 +91,7 @@
80
91
  "oxc/no-reset-spread-properties": "off",
81
92
  "oxc/no-rest-spread-properties": "off",
82
93
  "promise/avoid-new": "off",
94
+ "promise/no-multiple-resolved": "off",
83
95
  "promise/prefer-await-to-callbacks": "off",
84
96
  "promise/prefer-await-to-then": "off",
85
97
  "typescript/array-type": [
@@ -91,10 +103,15 @@
91
103
  ],
92
104
  "typescript/explicit-function-return-type": "off",
93
105
  "typescript/no-base-to-string": "off",
106
+ "typescript/no-explicit-any": "off",
94
107
  "typescript/no-misused-spread": "off",
108
+ "typescript/no-non-null-assertion": "off",
95
109
  "typescript/no-unsafe-type-assertion": "off",
110
+ "typescript/no-wrapper-object-types": "off",
96
111
  "typescript/promise-function-async": "off",
97
112
  "typescript/restrict-template-expressions": "off",
113
+ "typescript/unbound-method": "off",
114
+ "unicorn/prefer-spread": "off",
98
115
  "unicorn/filename-case": [
99
116
  "warn",
100
117
  {
@@ -106,12 +123,17 @@
106
123
  "multipleFileExtensions": true
107
124
  }
108
125
  ],
126
+ "unicorn/no-array-reduce": "off",
109
127
  "unicorn/no-await-expression-member": "off",
128
+ "unicorn/no-instanceof-builtins": "off",
110
129
  "unicorn/no-null": "off",
130
+ "unicorn/number-literal-case": "off",
131
+ "unicorn/numeric-separators-style": "off",
111
132
  "unicorn/prefer-event-target": "off",
112
133
  "unicorn/prefer-node-protocol": "warn",
113
134
  "unicorn/prefer-number-properties": "off",
114
135
  "unicorn/prefer-string-raw": "off",
115
- "unicorn/switch-case-braces": "off"
136
+ "unicorn/switch-case-braces": "off",
137
+ "unicorn/text-encoding-identifier-case": "off"
116
138
  }
117
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kayahr/oxlint-config",
3
- "version": "1.2.0",
3
+ "version": "1.5.0",
4
4
  "description": "Shared oxlint config for @kayahr projects",
5
5
  "type": "module",
6
6
  "exports": "./.oxlintrc.json",
@@ -23,11 +23,12 @@
23
23
  ],
24
24
  "devDependencies": {
25
25
  "@kayahr/cspell": "9.2.1-bundle.2",
26
- "@kayahr/npm-utils": "0.0.6",
26
+ "@kayahr/npm-utils": "1.0.0",
27
+ "@types/node": "24.7.2",
27
28
  "typescript": "5.9.3"
28
29
  },
29
30
  "dependencies": {
30
- "oxlint": "^1.22.0",
31
+ "oxlint": "^1.23.0",
31
32
  "oxlint-tsgolint": "^0.2.0"
32
33
  }
33
34
  }