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