@kayahr/oxlint-config 1.1.0 → 1.4.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 +20 -1
  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",
@@ -55,6 +57,8 @@
55
57
  "eslint/no-empty-function": "off",
56
58
  "eslint/no-eq-null": "off",
57
59
  "eslint/no-magic-numbers": "off",
60
+ "eslint/no-multi-assign": "off",
61
+ "eslint/no-param-reassign": "off",
58
62
  "eslint/no-plusplus": "off",
59
63
  "eslint/no-ternary": "off",
60
64
  "eslint/no-undefined": "off",
@@ -62,15 +66,22 @@
62
66
  "eslint/prefer-destructuring": "off",
63
67
  "eslint/radix": "off",
64
68
  "eslint/require-await": "off",
65
- "eslint/sort-imports": "off",
66
69
  "eslint/sort-keys": "off",
67
70
  "import/consistent-type-specifier-style": "off",
68
71
  "import/exports-last": "off",
69
72
  "import/extensions": "off",
70
73
  "import/group-exports": "off",
74
+ "import/no-unassigned-import": "off",
71
75
  "import/no-namespace": "off",
72
76
  "import/no-named-export": "off",
73
77
  "import/prefer-default-export": "off",
78
+ "sort-imports": ["error", {
79
+ "ignoreCase": false,
80
+ "ignoreDeclarationSort": true,
81
+ "ignoreMemberSort": false,
82
+ "memberSyntaxSortOrder": [ "none", "all", "multiple", "single" ],
83
+ "allowSeparatedGroups": false
84
+ }],
74
85
  "jsdoc/require-param": "off",
75
86
  "jsdoc/require-param-type": "off",
76
87
  "jsdoc/require-returns-type": "off",
@@ -79,6 +90,7 @@
79
90
  "oxc/no-reset-spread-properties": "off",
80
91
  "oxc/no-rest-spread-properties": "off",
81
92
  "promise/avoid-new": "off",
93
+ "promise/no-multiple-resolved": "off",
82
94
  "promise/prefer-await-to-callbacks": "off",
83
95
  "promise/prefer-await-to-then": "off",
84
96
  "typescript/array-type": [
@@ -90,10 +102,15 @@
90
102
  ],
91
103
  "typescript/explicit-function-return-type": "off",
92
104
  "typescript/no-base-to-string": "off",
105
+ "typescript/no-explicit-any": "off",
93
106
  "typescript/no-misused-spread": "off",
107
+ "typescript/no-non-null-assertion": "off",
94
108
  "typescript/no-unsafe-type-assertion": "off",
109
+ "typescript/no-wrapper-object-types": "off",
95
110
  "typescript/promise-function-async": "off",
96
111
  "typescript/restrict-template-expressions": "off",
112
+ "typescript/unbound-method": "off",
113
+ "unicorn/prefer-spread": "off",
97
114
  "unicorn/filename-case": [
98
115
  "warn",
99
116
  {
@@ -105,7 +122,9 @@
105
122
  "multipleFileExtensions": true
106
123
  }
107
124
  ],
125
+ "unicorn/no-array-reduce": "off",
108
126
  "unicorn/no-await-expression-member": "off",
127
+ "unicorn/no-instanceof-builtins": "off",
109
128
  "unicorn/no-null": "off",
110
129
  "unicorn/prefer-event-target": "off",
111
130
  "unicorn/prefer-node-protocol": "warn",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kayahr/oxlint-config",
3
- "version": "1.1.0",
3
+ "version": "1.4.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
  }