@1stg/oxlint-config 1.0.0 → 1.1.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.
- package/CHANGELOG.md +12 -0
- package/README.md +44 -14
- package/lib/index.d.ts +5 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +23 -16
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#430](https://github.com/1stG/configs/pull/430) [`5643939`](https://github.com/1stG/configs/commit/5643939d348c5b70f4a883eacca8a26a18aef415) Thanks [@JounQin](https://github.com/JounQin)! - Enable the structural TypeScript-friendly `no-magic-numbers` defaults (array
|
|
8
|
+
indexes, default values, type indexes and numeric literal types) plus
|
|
9
|
+
`enforceConst`, curate the shared ignore list to common values, and expose all
|
|
10
|
+
rule options through `noMagicNumbers`, whose `ignore` is merged with the
|
|
11
|
+
shared list. `rules` overrides remain as-is. Named declarations (enums,
|
|
12
|
+
readonly/class fields and default parameters) count as naming the number;
|
|
13
|
+
`detectObjects` stays opt-in.
|
|
14
|
+
|
|
3
15
|
## 1.0.0
|
|
4
16
|
|
|
5
17
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -31,24 +31,54 @@ Use `defineConfig` only when you need options.
|
|
|
31
31
|
|
|
32
32
|
## Options
|
|
33
33
|
|
|
34
|
-
| Option | Default | Description
|
|
35
|
-
| ---------------- | ---------------------------------------- |
|
|
36
|
-
| `categories` | `{ correctness: 'error', perf: 'warn' }` | Oxlint categories.
|
|
37
|
-
| `jsdoc` | `true` | Enable the JSDoc plugin.
|
|
38
|
-
| `jsPlugins` | `[]` | ESLint plugins to load (alpha).
|
|
39
|
-
| `rules` | `{}` | Extra rule overrides.
|
|
40
|
-
| `ignorePatterns` | `[]` | Native Oxlint ignore patterns.
|
|
41
|
-
| `node` | `true` | Node.js globals and rules.
|
|
42
|
-
| `promise` | `true` | Enable the Promise plugin.
|
|
43
|
-
| `react` | installed `react` | React, JSX accessibility and perf rules.
|
|
44
|
-
| `vue` | installed `vue` | Vue rules.
|
|
45
|
-
| `vitest` | installed `vitest` | Vitest globals and rules.
|
|
46
|
-
| `jest` | installed `jest` | Jest globals and rules.
|
|
47
|
-
| `typeAware` | installed `oxlint-tsgolint` | Enable rules requiring type info.
|
|
34
|
+
| Option | Default | Description |
|
|
35
|
+
| ---------------- | ---------------------------------------- | ------------------------------------------------------------ |
|
|
36
|
+
| `categories` | `{ correctness: 'error', perf: 'warn' }` | Oxlint categories. |
|
|
37
|
+
| `jsdoc` | `true` | Enable the JSDoc plugin. |
|
|
38
|
+
| `jsPlugins` | `[]` | ESLint plugins to load (alpha). |
|
|
39
|
+
| `rules` | `{}` | Extra rule overrides. |
|
|
40
|
+
| `ignorePatterns` | `[]` | Native Oxlint ignore patterns. |
|
|
41
|
+
| `node` | `true` | Node.js globals and rules. |
|
|
42
|
+
| `promise` | `true` | Enable the Promise plugin. |
|
|
43
|
+
| `react` | installed `react` | React, JSX accessibility and perf rules. |
|
|
44
|
+
| `vue` | installed `vue` | Vue rules. |
|
|
45
|
+
| `vitest` | installed `vitest` | Vitest globals and rules. |
|
|
46
|
+
| `jest` | installed `jest` | Jest globals and rules. |
|
|
47
|
+
| `typeAware` | installed `oxlint-tsgolint` | Enable rules requiring type info. |
|
|
48
|
+
| `noMagicNumbers` | `undefined` | Options merged into `no-magic-numbers`; `false` disables it. |
|
|
48
49
|
|
|
49
50
|
`ignorePatterns` is the native Oxlint field and can be passed directly; there
|
|
50
51
|
is no separate `ignores` alias.
|
|
51
52
|
|
|
53
|
+
## `no-magic-numbers`
|
|
54
|
+
|
|
55
|
+
The shared rule ignores common identity, time/calendar, timeout and
|
|
56
|
+
decimal/binary values (`-1` through `3600`) by default, while leaving
|
|
57
|
+
project-specific constants to consumers. Structural positions are ignored by default
|
|
58
|
+
(`ignoreArrayIndexes`, `ignoreDefaultValues`, `ignoreNumericLiteralTypes`,
|
|
59
|
+
`ignoreTypeIndexes`), and named declarations count as intentional
|
|
60
|
+
(`enforceConst`, `ignoreEnums`, `ignoreReadonlyClassProperties`,
|
|
61
|
+
`ignoreClassFieldInitialValues`). The class-field options overlap: set both
|
|
62
|
+
`ignoreReadonlyClassProperties` and `ignoreClassFieldInitialValues` to `false`
|
|
63
|
+
to report readonly field initializers. Oxlint currently still reports numeric
|
|
64
|
+
literal interface properties despite `ignoreNumericLiteralTypes`; add those
|
|
65
|
+
values through `noMagicNumbers.ignore` when needed. `detectObjects` stays
|
|
66
|
+
opt-in. Add domain constants with the dedicated option:
|
|
67
|
+
|
|
68
|
+
```js
|
|
69
|
+
export default defineConfig({
|
|
70
|
+
noMagicNumbers: {
|
|
71
|
+
ignore: [16, 64],
|
|
72
|
+
ignoreEnums: false,
|
|
73
|
+
},
|
|
74
|
+
})
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
All other `no-magic-numbers` options are accepted and override the defaults;
|
|
78
|
+
`ignore` is merged with the shared list. `rules` overrides are passed through
|
|
79
|
+
as-is, so use `noMagicNumbers` when defaults should be merged. Passing `false`
|
|
80
|
+
disables the rule.
|
|
81
|
+
|
|
52
82
|
Import sorting is **not** a lint rule here: Oxfmt's built-in `sortImports` does
|
|
53
83
|
it at format time, so `oxlint` and `oxfmt` stay independent.
|
|
54
84
|
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { OxlintConfig } from 'oxlint';
|
|
2
|
+
type OxlintRules = NonNullable<OxlintConfig['rules']>;
|
|
3
|
+
type NoMagicNumbersRule = NonNullable<OxlintRules['no-magic-numbers']>;
|
|
4
|
+
type NoMagicNumbersOptions = Extract<NoMagicNumbersRule, [unknown, unknown]>[1];
|
|
2
5
|
export interface OxlintConfigOptions extends OxlintConfig {
|
|
3
6
|
jsdoc?: boolean;
|
|
4
7
|
node?: boolean;
|
|
@@ -8,8 +11,9 @@ export interface OxlintConfigOptions extends OxlintConfig {
|
|
|
8
11
|
vitest?: boolean;
|
|
9
12
|
jest?: boolean;
|
|
10
13
|
typeAware?: boolean;
|
|
14
|
+
noMagicNumbers?: false | NoMagicNumbersOptions;
|
|
11
15
|
}
|
|
12
|
-
export declare const defineConfig: ({ categories, jest, typeAware, jsdoc, node, promise, react, vitest, vue, plugins: extraPlugins, env: extraEnv, rules: extraRules, overrides: extraOverrides, ignorePatterns: extraIgnorePatterns, ...options }?: OxlintConfigOptions) => OxlintConfig;
|
|
16
|
+
export declare const defineConfig: ({ categories, jest, typeAware, noMagicNumbers, jsdoc, node, promise, react, vitest, vue, plugins: extraPlugins, env: extraEnv, rules: extraRules, overrides: extraOverrides, ignorePatterns: extraIgnorePatterns, ...options }?: OxlintConfigOptions) => OxlintConfig;
|
|
13
17
|
declare const _default: OxlintConfig;
|
|
14
18
|
export default _default;
|
|
15
19
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAE1C,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IAEvD,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf,GAAG,CAAC,EAAE,OAAO,CAAA;IAEb,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd,SAAS,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAE1C,KAAK,WAAW,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAA;AACrD,KAAK,kBAAkB,GAAG,WAAW,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAA;AACtE,KAAK,qBAAqB,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AAkB/E,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IAEvD,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf,GAAG,CAAC,EAAE,OAAO,CAAA;IAEb,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,cAAc,CAAC,EAAE,KAAK,GAAG,qBAAqB,CAAA;CAC/C;AAMD,eAAO,MAAM,YAAY,oOAiBtB,mBAAmB,KAAQ,YA4H7B,CAAA"}
|
package/lib/index.js
CHANGED
|
@@ -10,8 +10,23 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { isPkgAvailable } from '@pkgr/utils';
|
|
13
|
+
const DEFAULT_MAGIC_NUMBERS = [
|
|
14
|
+
-1, 0, 1, 2, 3, 5, 7, 10, 12, 15, 20, 24, 28, 29, 30, 31, 50, 60, 100, 365, 366, 500, 1000, 1024,
|
|
15
|
+
3600,
|
|
16
|
+
];
|
|
17
|
+
const DEFAULT_NO_MAGIC_NUMBERS_OPTIONS = {
|
|
18
|
+
enforceConst: true,
|
|
19
|
+
ignoreArrayIndexes: true,
|
|
20
|
+
ignoreClassFieldInitialValues: true,
|
|
21
|
+
ignoreDefaultValues: true,
|
|
22
|
+
ignoreEnums: true,
|
|
23
|
+
ignoreNumericLiteralTypes: true,
|
|
24
|
+
ignoreReadonlyClassProperties: true,
|
|
25
|
+
ignoreTypeIndexes: true,
|
|
26
|
+
};
|
|
13
27
|
export const defineConfig = (_a = {}) => {
|
|
14
|
-
var
|
|
28
|
+
var _b;
|
|
29
|
+
var { categories = { correctness: 'error', perf: 'warn' }, jest = isPkgAvailable('jest'), typeAware = isPkgAvailable('oxlint-tsgolint/package.json'), noMagicNumbers, jsdoc = true, node = true, promise = true, react = isPkgAvailable('react'), vitest = isPkgAvailable('vitest'), vue = isPkgAvailable('vue'), plugins: extraPlugins = [], env: extraEnv, rules: extraRules, overrides: extraOverrides, ignorePatterns: extraIgnorePatterns } = _a, options = __rest(_a, ["categories", "jest", "typeAware", "noMagicNumbers", "jsdoc", "node", "promise", "react", "vitest", "vue", "plugins", "env", "rules", "overrides", "ignorePatterns"]);
|
|
15
30
|
const plugins = ['oxc', 'unicorn', 'typescript', 'import'];
|
|
16
31
|
if (promise) {
|
|
17
32
|
plugins.push('promise');
|
|
@@ -35,6 +50,12 @@ export const defineConfig = (_a = {}) => {
|
|
|
35
50
|
plugins.push('jest');
|
|
36
51
|
}
|
|
37
52
|
plugins.push(...extraPlugins);
|
|
53
|
+
const noMagicNumbersRule = noMagicNumbers === false
|
|
54
|
+
? 'off'
|
|
55
|
+
: [
|
|
56
|
+
'error',
|
|
57
|
+
Object.assign(Object.assign(Object.assign({}, DEFAULT_NO_MAGIC_NUMBERS_OPTIONS), noMagicNumbers), { ignore: [...new Set([...DEFAULT_MAGIC_NUMBERS, ...((_b = noMagicNumbers === null || noMagicNumbers === void 0 ? void 0 : noMagicNumbers.ignore) !== null && _b !== void 0 ? _b : [])])] }),
|
|
58
|
+
];
|
|
38
59
|
return Object.assign(Object.assign({}, options), { options: Object.assign(Object.assign({}, options.options), (typeAware && { typeAware: true })), plugins,
|
|
39
60
|
categories, env: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ builtin: true }, (node && { node: true })), (react && { browser: true })), (vue && { vue: true })), (vitest && { vitest: true })), (jest && { jest: true })), extraEnv), rules: Object.assign(Object.assign(Object.assign({}, (typeAware && {
|
|
40
61
|
'typescript/await-thenable': 'error',
|
|
@@ -49,21 +70,7 @@ export const defineConfig = (_a = {}) => {
|
|
|
49
70
|
'typescript/prefer-reduce-type-parameter': 'error',
|
|
50
71
|
'typescript/require-array-sort-compare': ['error', { ignoreStringArrays: true }],
|
|
51
72
|
'typescript/restrict-plus-operands': 'error',
|
|
52
|
-
})), { 'arrow-body-style': 'error', curly: ['error', 'all'], eqeqeq: ['error', 'always'], 'no-case-declarations': 'error', 'no-else-return': ['error', { allowElseIf: false }], 'no-empty': ['error', { allowEmptyCatch: true }], 'no-empty-function': 'error', 'no-fallthrough': 'error', 'no-magic-numbers': [
|
|
53
|
-
'error',
|
|
54
|
-
{
|
|
55
|
-
enforceConst: true,
|
|
56
|
-
ignore: [
|
|
57
|
-
-1, 0, 1, 2, 3, 5, 7, 10, 12, 15, 20, 24, 30, 31, 50, 60, 100, 365, 366, 500, 768, 1000,
|
|
58
|
-
1024, 3600, 4200, 8080,
|
|
59
|
-
],
|
|
60
|
-
ignoreArrayIndexes: true,
|
|
61
|
-
ignoreEnums: true,
|
|
62
|
-
ignoreNumericLiteralTypes: true,
|
|
63
|
-
ignoreReadonlyClassProperties: true,
|
|
64
|
-
ignoreTypeIndexes: true,
|
|
65
|
-
},
|
|
66
|
-
], 'no-negated-condition': 'error', 'no-prototype-builtins': 'error', 'no-redeclare': 'error', 'no-regex-spaces': 'error', 'no-var': 'error', 'object-shorthand': 'error', 'prefer-const': ['error', { destructuring: 'all' }], 'prefer-object-spread': 'error', 'prefer-regex-literals': 'error', 'preserve-caught-error': 'error', 'import/newline-after-import': 'error', 'import/no-duplicates': 'error', 'typescript/consistent-type-definitions': ['error', 'interface'], 'typescript/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }], 'unicorn/prefer-node-protocol': 'error', 'unicorn/prefer-number-properties': 'error', 'unicorn/prefer-string-starts-ends-with': 'error' }), extraRules), overrides: [
|
|
73
|
+
})), { 'arrow-body-style': 'error', curly: ['error', 'all'], eqeqeq: ['error', 'always'], 'no-case-declarations': 'error', 'no-else-return': ['error', { allowElseIf: false }], 'no-empty': ['error', { allowEmptyCatch: true }], 'no-empty-function': 'error', 'no-fallthrough': 'error', 'no-magic-numbers': noMagicNumbersRule, 'no-negated-condition': 'error', 'no-prototype-builtins': 'error', 'no-redeclare': 'error', 'no-regex-spaces': 'error', 'no-var': 'error', 'object-shorthand': 'error', 'prefer-const': ['error', { destructuring: 'all' }], 'prefer-object-spread': 'error', 'prefer-regex-literals': 'error', 'preserve-caught-error': 'error', 'import/newline-after-import': 'error', 'import/no-duplicates': 'error', 'typescript/consistent-type-definitions': ['error', 'interface'], 'typescript/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }], 'unicorn/prefer-node-protocol': 'error', 'unicorn/prefer-number-properties': 'error', 'unicorn/prefer-string-starts-ends-with': 'error' }), extraRules), overrides: [
|
|
67
74
|
{
|
|
68
75
|
files: ['**/*.d.{ts,mts,cts}', '**/*.d.*.{ts,mts,cts}'],
|
|
69
76
|
rules: {
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAO5C,MAAM,qBAAqB,GAAG;IAC5B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC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