@d3lm/lint-preset 1.4.5 → 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.
- package/README.md +166 -0
- package/dist/bin/comments.js +3162 -0
- package/dist/bin/comments.js.map +1 -0
- package/dist/{chunk-6LUTQQJB.cjs → chunk-M3BAUCCR.cjs} +20 -27
- package/dist/chunk-M3BAUCCR.cjs.map +1 -0
- package/dist/{chunk-QEMNOAEQ.js → chunk-SMTCD6GW.js} +20 -27
- package/dist/chunk-SMTCD6GW.js.map +1 -0
- package/dist/comments.cjs +1409 -0
- package/dist/comments.cjs.map +1 -0
- package/dist/comments.d.cts +257 -0
- package/dist/comments.d.ts +257 -0
- package/dist/comments.js +1407 -0
- package/dist/comments.js.map +1 -0
- package/dist/eslint.cjs +9 -9
- package/dist/eslint.js +1 -1
- package/dist/oxlint.cjs +10 -12
- package/dist/oxlint.cjs.map +1 -1
- package/dist/oxlint.js +6 -8
- package/dist/oxlint.js.map +1 -1
- package/dist/rules.cjs +50 -11
- package/dist/rules.cjs.map +1 -1
- package/dist/rules.js +50 -11
- package/dist/rules.js.map +1 -1
- package/package.json +13 -1
- package/dist/chunk-6LUTQQJB.cjs.map +0 -1
- package/dist/chunk-QEMNOAEQ.js.map +0 -1
|
@@ -136,14 +136,13 @@ var unicornRulesJsPlugin = {
|
|
|
136
136
|
"unicornx/prefer-switch": "error",
|
|
137
137
|
"unicornx/template-indent": "error",
|
|
138
138
|
/**
|
|
139
|
-
* Native port exists but only in oxlint's nursery category, which can't be
|
|
140
|
-
*
|
|
139
|
+
* Native port exists but only in oxlint's nursery category, which can't be enabled from config,
|
|
140
|
+
* so we run the JS original instead.
|
|
141
141
|
*/
|
|
142
142
|
"unicornx/no-useless-iterator-to-array": "error",
|
|
143
143
|
/**
|
|
144
|
-
* Oxlint's port hardcodes uppercase hexadecimal digits, which fights
|
|
145
|
-
*
|
|
146
|
-
* lowercase option instead.
|
|
144
|
+
* Oxlint's port hardcodes uppercase hexadecimal digits, which fights Prettier's lowercase
|
|
145
|
+
* formatting, so we run the JS original with the lowercase option instead.
|
|
147
146
|
*/
|
|
148
147
|
"unicornx/number-literal-case": ["error", { hexadecimalValue: "lowercase" }]
|
|
149
148
|
};
|
|
@@ -163,6 +162,8 @@ var ABBREVIATION_REPLACEMENTS = {
|
|
|
163
162
|
props: false,
|
|
164
163
|
util: false,
|
|
165
164
|
utils: false,
|
|
165
|
+
lib: false,
|
|
166
|
+
libs: false,
|
|
166
167
|
param: false,
|
|
167
168
|
params: false,
|
|
168
169
|
arg: false,
|
|
@@ -257,9 +258,9 @@ var paddingLineEntries = [
|
|
|
257
258
|
next: ["case", "default"]
|
|
258
259
|
},
|
|
259
260
|
{
|
|
260
|
-
blankLine: "
|
|
261
|
+
blankLine: "always",
|
|
261
262
|
prev: "*",
|
|
262
|
-
next: "break"
|
|
263
|
+
next: ["break", "continue"]
|
|
263
264
|
},
|
|
264
265
|
{
|
|
265
266
|
blankLine: "always",
|
|
@@ -281,9 +282,8 @@ var paddingLineEntries = [
|
|
|
281
282
|
}
|
|
282
283
|
},
|
|
283
284
|
/**
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
* wins over the surrounding `*` rules.
|
|
285
|
+
* The rule applies the last entry that matches a statement pair, so the import-to-import entry
|
|
286
|
+
* must come after the surrounding `*` entries.
|
|
287
287
|
*/
|
|
288
288
|
{
|
|
289
289
|
blankLine: "always",
|
|
@@ -301,9 +301,8 @@ var paddingLineEntries = [
|
|
|
301
301
|
next: "import"
|
|
302
302
|
},
|
|
303
303
|
/**
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
* wins over the surrounding `*` rules.
|
|
304
|
+
* The rule applies the last entry that matches a statement pair, so the export-to-export entry
|
|
305
|
+
* must come after the surrounding `*` entries.
|
|
307
306
|
*/
|
|
308
307
|
{
|
|
309
308
|
blankLine: "always",
|
|
@@ -321,7 +320,7 @@ var paddingLineEntries = [
|
|
|
321
320
|
next: "export"
|
|
322
321
|
}
|
|
323
322
|
];
|
|
324
|
-
var jsdocTagLineOptions = ["
|
|
323
|
+
var jsdocTagLineOptions = ["never", { startLines: 1, applyToEndTag: false }];
|
|
325
324
|
function jsRulesOxlint(options = {}) {
|
|
326
325
|
const { preventAbbreviations: preventAbbreviationsOptions } = options;
|
|
327
326
|
const {
|
|
@@ -342,6 +341,7 @@ function jsRulesOxlint(options = {}) {
|
|
|
342
341
|
"no-case-declarations": "error",
|
|
343
342
|
"default-case-last": "error",
|
|
344
343
|
"no-cond-assign": "error",
|
|
344
|
+
"no-return-assign": ["error", "always"],
|
|
345
345
|
"no-dynamic-delete": "off",
|
|
346
346
|
"no-unneeded-ternary": "error",
|
|
347
347
|
"object-shorthand": "error",
|
|
@@ -349,9 +349,8 @@ function jsRulesOxlint(options = {}) {
|
|
|
349
349
|
"@stylistic/padding-line-between-statements": ["error", ...paddingLineEntries],
|
|
350
350
|
"@stylistic/no-trailing-spaces": "error",
|
|
351
351
|
/**
|
|
352
|
-
* Indentation is owned by Prettier. Oxlint's @stylistic/indent port
|
|
353
|
-
*
|
|
354
|
-
* args inside ternaries), so we leave the rule off.
|
|
352
|
+
* Indentation is owned by Prettier. Oxlint's @stylistic/indent port diverges from eslint-stylistic on edge cases
|
|
353
|
+
* (e.g., multiline object args inside ternaries), so we leave the rule off.
|
|
355
354
|
*/
|
|
356
355
|
"@stylistic/indent": "off",
|
|
357
356
|
"@stylistic/no-multiple-empty-lines": ["error", { max: 1 }],
|
|
@@ -384,13 +383,12 @@ function jsRulesOxlint(options = {}) {
|
|
|
384
383
|
allowTypeEnd: false
|
|
385
384
|
}
|
|
386
385
|
],
|
|
387
|
-
// unicorn recommended, split between native oxlint ports and JS originals
|
|
388
386
|
...unicornRulesOxlint,
|
|
389
387
|
...unicornRulesJsPlugin,
|
|
390
388
|
/**
|
|
391
|
-
* Oxlint's built-in `unicorn` / `jsdoc` plugins don't implement these,
|
|
392
|
-
*
|
|
393
|
-
*
|
|
389
|
+
* Oxlint's built-in `unicorn` / `jsdoc` plugins don't implement these, so we wire the original JS
|
|
390
|
+
* plugins under aliased names (see jsPlugins in `src/oxlint.ts`). Rule IDs use the alias instead
|
|
391
|
+
* of the canonical prefix.
|
|
394
392
|
*/
|
|
395
393
|
"unicornx/name-replacements": [
|
|
396
394
|
"error",
|
|
@@ -544,11 +542,6 @@ function tsRulesOxlint(options = {}) {
|
|
|
544
542
|
...jsRulesOxlint(options),
|
|
545
543
|
...tsTypeAwareRulesOxlint,
|
|
546
544
|
...tsSyntaxRulesOxlint,
|
|
547
|
-
/**
|
|
548
|
-
* Oxlint exposes typescript-eslint rules under its own `typescript/`
|
|
549
|
-
* namespace, so rule ids are prefixed `typescript/` rather than
|
|
550
|
-
* `@typescript-eslint/`.
|
|
551
|
-
*/
|
|
552
545
|
"typescript/no-unused-vars": [
|
|
553
546
|
"error",
|
|
554
547
|
{
|
|
@@ -684,4 +677,4 @@ function generateFilterRegex(defaults, extensions = []) {
|
|
|
684
677
|
|
|
685
678
|
|
|
686
679
|
exports.unicornRulesEslint = unicornRulesEslint; exports.jsFileExtensions = jsFileExtensions; exports.jsRulesOxlint = jsRulesOxlint; exports.jsRulesEslint = jsRulesEslint; exports.reactFileExtensions = reactFileExtensions; exports.resolveReactRuleOptions = resolveReactRuleOptions; exports.reactRulesOxlint = reactRulesOxlint; exports.tsFileExtensions = tsFileExtensions; exports.tsRulesOxlint = tsRulesOxlint; exports.tsRulesEslint = tsRulesEslint;
|
|
687
|
-
//# sourceMappingURL=chunk-
|
|
680
|
+
//# sourceMappingURL=chunk-M3BAUCCR.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/lint-preset/lint-preset/dist/chunk-M3BAUCCR.cjs","../src/configs/unicorn.ts","../src/configs/abbreviations.ts","../src/configs/javascript.ts","../src/configs/react.ts","../src/configs/typescript.ts"],"names":[],"mappings":"AAAA;ACmBO,IAAM,mBAAA,EAAyC;AAAA;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ter } from 'eslint';\n\n/**\n * Mirrors `eslint-plugin-unicorn`'s recommended config, split by runtime.\n *\n * Oxlint natively implements most unicorn rules, so we enable those under the canonical\n * `unicorn/` prefix (fast, Rust). Rules oxlint hasn't ported run through the original JS\n * plugin, aliased as `unicornx` in `jsPlugins` (see `src/oxlint.ts`), because oxlint's\n * built-in plugin owns the `unicorn/` namespace.\n *\n * `unicorn/name-replacements` is also not ported. It lives in `javascript.ts` because it\n * takes user-configurable options.\n */\n\n/**\n * Lists the Unicorn recommended rules natively implemented by Oxlint, grouped by the oxlint category\n * they belong to. Only the correctness group is enabled by oxlint's defaults (as `warn`). Everything is\n * set explicitly to `error` to match the recommended config.\n */\nexport const unicornRulesOxlint: Linter.RulesRecord = {\n // correctness\n 'unicorn/no-await-in-promise-methods': 'error',\n 'unicorn/no-empty-file': 'warn',\n 'unicorn/no-invalid-fetch-options': 'error',\n 'unicorn/no-invalid-remove-event-listener': 'error',\n 'unicorn/no-new-array': 'error',\n 'unicorn/no-single-promise-in-promise-methods': 'error',\n 'unicorn/no-thenable': 'error',\n 'unicorn/no-unnecessary-await': 'error',\n 'unicorn/no-useless-fallback-in-spread': 'error',\n 'unicorn/no-useless-length-check': 'error',\n 'unicorn/no-useless-spread': 'error',\n 'unicorn/prefer-set-size': 'error',\n 'unicorn/prefer-string-starts-ends-with': 'error',\n\n // perf\n 'unicorn/prefer-array-find': 'error',\n 'unicorn/prefer-array-flat-map': 'error',\n 'unicorn/prefer-set-has': 'error',\n\n // restriction\n 'unicorn/no-abusive-eslint-disable': 'error',\n 'unicorn/no-anonymous-default-export': 'error',\n 'unicorn/no-array-for-each': 'error',\n 'unicorn/no-array-reduce': 'error',\n 'unicorn/no-document-cookie': 'error',\n 'unicorn/no-magic-array-flat-depth': 'error',\n 'unicorn/no-process-exit': 'error',\n 'unicorn/no-useless-error-capture-stack-trace': 'error',\n 'unicorn/prefer-modern-math-apis': 'error',\n 'unicorn/prefer-module': 'error',\n 'unicorn/prefer-node-protocol': 'error',\n 'unicorn/prefer-number-properties': 'error',\n\n // suspicious\n 'unicorn/consistent-function-scoping': 'error',\n 'unicorn/no-accessor-recursion': 'error',\n 'unicorn/no-array-reverse': 'error',\n 'unicorn/no-array-sort': 'error',\n 'unicorn/no-instanceof-builtins': 'error',\n 'unicorn/prefer-add-event-listener': 'error',\n 'unicorn/require-module-specifiers': 'error',\n\n // pedantic\n 'unicorn/consistent-assert': 'error',\n 'unicorn/consistent-empty-array-spread': 'error',\n 'unicorn/escape-case': 'error',\n 'unicorn/explicit-length-check': 'error',\n 'unicorn/new-for-builtins': 'error',\n 'unicorn/no-array-callback-reference': 'error',\n 'unicorn/no-hex-escape': 'error',\n 'unicorn/no-immediate-mutation': 'error',\n 'unicorn/no-lonely-if': 'error',\n 'unicorn/no-negation-in-equality-check': 'error',\n 'unicorn/no-new-buffer': 'error',\n 'unicorn/no-object-as-default-parameter': 'error',\n 'unicorn/no-static-only-class': 'error',\n 'unicorn/no-this-assignment': 'error',\n 'unicorn/no-typeof-undefined': 'error',\n 'unicorn/no-unnecessary-array-flat-depth': 'error',\n 'unicorn/no-unnecessary-array-splice-count': 'error',\n 'unicorn/no-unnecessary-slice-end': 'error',\n 'unicorn/no-unreadable-iife': 'error',\n 'unicorn/no-useless-promise-resolve-reject': 'error',\n 'unicorn/no-useless-switch-case': 'error',\n 'unicorn/prefer-array-flat': 'error',\n 'unicorn/prefer-array-some': 'error',\n 'unicorn/prefer-at': 'error',\n 'unicorn/prefer-blob-reading-methods': 'error',\n 'unicorn/prefer-code-point': 'error',\n 'unicorn/prefer-date-now': 'error',\n 'unicorn/prefer-dom-node-append': 'error',\n 'unicorn/prefer-dom-node-dataset': 'error',\n 'unicorn/prefer-dom-node-remove': 'error',\n 'unicorn/prefer-event-target': 'error',\n 'unicorn/prefer-math-min-max': 'error',\n 'unicorn/prefer-math-trunc': 'error',\n 'unicorn/prefer-native-coercion-functions': 'error',\n 'unicorn/prefer-prototype-methods': 'error',\n 'unicorn/prefer-query-selector': 'error',\n 'unicorn/prefer-regexp-test': 'error',\n 'unicorn/prefer-string-replace-all': 'error',\n 'unicorn/prefer-string-slice': 'error',\n 'unicorn/prefer-top-level-await': 'error',\n 'unicorn/prefer-type-error': 'error',\n 'unicorn/require-number-to-fixed-digits-argument': 'error',\n\n // style\n 'unicorn/catch-error-name': ['error', { name: 'error' }],\n 'unicorn/consistent-date-clone': 'error',\n 'unicorn/consistent-existence-index-check': 'error',\n 'unicorn/consistent-template-literal-escape': 'error',\n 'unicorn/empty-brace-spaces': 'error',\n 'unicorn/error-message': 'error',\n 'unicorn/no-array-method-this-argument': 'error',\n 'unicorn/no-await-expression-member': 'error',\n 'unicorn/no-console-spaces': 'error',\n 'unicorn/no-unreadable-array-destructuring': 'error',\n 'unicorn/no-useless-collection-argument': 'error',\n 'unicorn/no-zero-fractions': 'error',\n 'unicorn/numeric-separators-style': 'error',\n 'unicorn/prefer-array-index-of': 'error',\n 'unicorn/prefer-bigint-literals': 'error',\n 'unicorn/prefer-class-fields': 'error',\n 'unicorn/prefer-classlist-toggle': 'error',\n 'unicorn/prefer-default-parameters': 'error',\n 'unicorn/prefer-dom-node-text-content': 'error',\n 'unicorn/prefer-global-this': 'error',\n 'unicorn/prefer-includes': 'error',\n 'unicorn/prefer-keyboard-event-key': 'error',\n 'unicorn/prefer-logical-operator-over-ternary': 'error',\n 'unicorn/prefer-modern-dom-apis': 'error',\n 'unicorn/prefer-negative-index': 'error',\n 'unicorn/prefer-object-from-entries': 'error',\n 'unicorn/prefer-optional-catch-binding': 'error',\n 'unicorn/prefer-reflect-apply': 'error',\n 'unicorn/prefer-response-static-json': 'error',\n 'unicorn/prefer-spread': 'error',\n 'unicorn/prefer-string-raw': 'error',\n 'unicorn/prefer-string-trim-start-end': 'error',\n 'unicorn/prefer-structured-clone': 'error',\n 'unicorn/relative-url-style': 'error',\n 'unicorn/require-array-join-separator': 'error',\n 'unicorn/require-module-attributes': 'error',\n 'unicorn/switch-case-braces': 'error',\n 'unicorn/switch-case-break-position': 'error',\n 'unicorn/text-encoding-identifier-case': 'error',\n 'unicorn/throw-new-error': 'error',\n};\n\n/**\n * Lists the Unicorn recommended rules that Oxlint hasn't ported. They run inside Oxlint through the\n * original JS plugin under the `unicornx` alias.\n */\nexport const unicornRulesJsPlugin: Linter.RulesRecord = {\n 'unicornx/isolated-functions': 'error',\n 'unicornx/no-for-loop': 'error',\n 'unicornx/no-named-default': 'error',\n 'unicornx/no-unnecessary-polyfills': 'error',\n 'unicornx/no-unreadable-for-of-expression': 'error',\n 'unicornx/prefer-export-from': 'error',\n 'unicornx/prefer-simple-condition-first': 'error',\n 'unicornx/prefer-single-call': 'error',\n 'unicornx/prefer-switch': 'error',\n 'unicornx/template-indent': 'error',\n\n /**\n * Native port exists but only in oxlint's nursery category, which can't be enabled from config,\n * so we run the JS original instead.\n */\n 'unicornx/no-useless-iterator-to-array': 'error',\n\n /**\n * Oxlint's port hardcodes uppercase hexadecimal digits, which fights Prettier's lowercase\n * formatting, so we run the JS original with the lowercase option instead.\n */\n 'unicornx/number-literal-case': ['error', { hexadecimalValue: 'lowercase' }],\n};\n\n/**\n * Lists the Unicorn recommended rules that can't run inside Oxlint's JS-plugin host yet because the\n * compat layer is missing ESLint APIs (e.g. `sourceCode.getDisableDirectives`). ESLint picks them up\n * after Oxlint runs.\n */\nexport const unicornRulesEslint: Linter.RulesRecord = {\n 'unicorn/expiring-todo-comments': 'error',\n};\n","export const DEFAULT_ABBREVIATION_ALLOW_LIST = ['fn', 'cb', 'err', 'prev', 'dev', 'i'];\n\nexport const ABBREVIATION_REPLACEMENTS: Record<string, Record<string, boolean> | false> = {\n ref: false,\n refs: false,\n dev: false,\n dir: false,\n env: false,\n prop: false,\n props: false,\n util: false,\n utils: false,\n lib: false,\n libs: false,\n param: false,\n params: false,\n arg: false,\n args: false,\n db: false,\n ev: { event: true },\n val: { value: true },\n msg: { message: true },\n el: { element: true },\n elem: { element: true },\n btn: { button: true },\n cb: { callback: true },\n fn: { function: true },\n err: { error: true },\n opts: { options: true },\n cfg: { config: true },\n obj: { object: true },\n arr: { array: true },\n str: { string: true },\n num: { number: true },\n curr: { current: true },\n len: { length: true },\n e: { event: true, error: true },\n};\n","import type { Linter } from 'eslint';\nimport { ABBREVIATION_REPLACEMENTS, DEFAULT_ABBREVIATION_ALLOW_LIST } from './abbreviations.js';\nimport { unicornRulesJsPlugin, unicornRulesOxlint } from './unicorn.js';\n\nexport const jsFileExtensions = ['**/*.js', '**/*.jsx', '**/*.mjs', '**/*.cjs'];\n\nexport const paddingLineEntries = [\n {\n blankLine: 'always',\n prev: '*',\n next: ['block', 'block-like', 'class', 'const', 'let'],\n },\n {\n blankLine: 'always',\n prev: 'block',\n next: '*',\n },\n {\n blankLine: 'always',\n prev: ['const'],\n next: '*',\n },\n {\n blankLine: 'always',\n prev: ['let'],\n next: '*',\n },\n {\n blankLine: 'any',\n prev: ['const'],\n next: ['const'],\n },\n {\n blankLine: 'any',\n prev: ['let'],\n next: ['let'],\n },\n {\n blankLine: 'always',\n prev: ['let'],\n next: ['const'],\n },\n {\n blankLine: 'always',\n prev: ['const'],\n next: ['let'],\n },\n {\n blankLine: 'always',\n prev: ['singleline-const'],\n next: ['multiline-const'],\n },\n {\n blankLine: 'always',\n prev: ['multiline-const'],\n next: ['singleline-const'],\n },\n {\n blankLine: 'always',\n prev: ['singleline-let'],\n next: ['multiline-let'],\n },\n {\n blankLine: 'always',\n prev: ['multiline-let'],\n next: ['singleline-let'],\n },\n {\n blankLine: 'any',\n prev: ['case', 'block', 'block-like'],\n next: ['case', 'default'],\n },\n {\n blankLine: 'always',\n prev: '*',\n next: ['break', 'continue'],\n },\n {\n blankLine: 'always',\n prev: 'if',\n next: '*',\n },\n {\n blankLine: 'always',\n prev: {\n selector:\n 'ExpressionStatement:matches([expression.type=\"CallExpression\"], [expression.type=\"AwaitExpression\"][expression.argument.type=\"CallExpression\"])',\n },\n next: { selector: 'ExpressionStatement[expression.type=\"AssignmentExpression\"]' },\n },\n {\n blankLine: 'always',\n prev: { selector: 'ExpressionStatement[expression.type=\"AssignmentExpression\"]' },\n next: {\n selector:\n 'ExpressionStatement:matches([expression.type=\"CallExpression\"], [expression.type=\"AwaitExpression\"][expression.argument.type=\"CallExpression\"])',\n },\n },\n /**\n * The rule applies the last entry that matches a statement pair, so the import-to-import entry\n * must come after the surrounding `*` entries.\n */\n {\n blankLine: 'always',\n prev: 'import',\n next: '*',\n },\n {\n blankLine: 'always',\n prev: '*',\n next: 'import',\n },\n {\n blankLine: 'any',\n prev: 'import',\n next: 'import',\n },\n /**\n * The rule applies the last entry that matches a statement pair, so the export-to-export entry\n * must come after the surrounding `*` entries.\n */\n {\n blankLine: 'always',\n prev: 'export',\n next: '*',\n },\n {\n blankLine: 'always',\n prev: '*',\n next: 'export',\n },\n {\n blankLine: 'any',\n prev: 'export',\n next: 'export',\n },\n];\n\nexport const jsdocTagLineOptions = ['never', { startLines: 1, applyToEndTag: false }];\n\nexport interface JavaScriptRuleOptions {\n preventAbbreviations?: {\n allowList?: string[];\n inheritAllowList?: boolean;\n replacements?: Record<string, Record<string, boolean> | false>;\n inheritReplacements?: boolean;\n };\n}\n\nexport function jsRulesOxlint(options: JavaScriptRuleOptions = {}): Linter.RulesRecord {\n const { preventAbbreviations: preventAbbreviationsOptions } = options;\n\n const {\n inheritAllowList = true,\n inheritReplacements = true,\n allowList = [],\n replacements = {},\n } = preventAbbreviationsOptions ?? {};\n\n const effectiveAllowList = inheritAllowList ? [...DEFAULT_ABBREVIATION_ALLOW_LIST, ...allowList] : allowList;\n\n return {\n 'consistent-return': 'error',\n curly: ['error', 'all'],\n 'arrow-body-style': 'off',\n 'dot-notation': 'error',\n 'no-debugger': 'warn',\n 'no-unused-vars': 'off',\n 'no-async-promise-executor': 'error',\n 'no-case-declarations': 'error',\n 'default-case-last': 'error',\n 'no-cond-assign': 'error',\n 'no-return-assign': ['error', 'always'],\n 'no-dynamic-delete': 'off',\n 'no-unneeded-ternary': 'error',\n 'object-shorthand': 'error',\n 'no-constant-condition': ['error', { checkLoops: false }],\n\n '@stylistic/padding-line-between-statements': ['error', ...paddingLineEntries],\n '@stylistic/no-trailing-spaces': 'error',\n\n /**\n * Indentation is owned by Prettier. Oxlint's @stylistic/indent port diverges from eslint-stylistic on edge cases\n * (e.g., multiline object args inside ternaries), so we leave the rule off.\n */\n '@stylistic/indent': 'off',\n '@stylistic/no-multiple-empty-lines': ['error', { max: 1 }],\n '@stylistic/multiline-comment-style': ['error', 'starred-block'],\n '@stylistic/spaced-comment': [\n 'error',\n 'always',\n {\n block: { balanced: true },\n },\n ],\n '@stylistic/brace-style': ['error', '1tbs'],\n '@stylistic/lines-around-comment': [\n 'error',\n {\n beforeBlockComment: true,\n beforeLineComment: true,\n allowBlockStart: true,\n allowBlockEnd: false,\n allowObjectStart: true,\n allowObjectEnd: false,\n allowArrayStart: true,\n allowArrayEnd: true,\n allowClassStart: true,\n allowInterfaceStart: true,\n allowInterfaceEnd: true,\n allowEnumStart: true,\n allowEnumEnd: true,\n allowTypeStart: true,\n allowTypeEnd: false,\n },\n ],\n\n ...unicornRulesOxlint,\n ...unicornRulesJsPlugin,\n\n /**\n * Oxlint's built-in `unicorn` / `jsdoc` plugins don't implement these, so we wire the original JS\n * plugins under aliased names (see jsPlugins in `src/oxlint.ts`). Rule IDs use the alias instead\n * of the canonical prefix.\n */\n 'unicornx/name-replacements': [\n 'error',\n {\n replacements: inheritReplacements ? { ...ABBREVIATION_REPLACEMENTS, ...replacements } : replacements,\n allowList: Object.fromEntries(effectiveAllowList.map((name) => [name, true])),\n },\n ],\n\n 'jsdocx/tag-lines': ['error', ...jsdocTagLineOptions],\n };\n}\n\n/**\n * These rules can't run under Oxlint. They are ESLint-core rules that Oxlint hasn't implemented\n * (`prefer-arrow-callback`) or only ships in its nursery category (`no-useless-assignment`), and no\n * plugin we can alias into oxlint's `jsPlugins` exposes them, because the `@eslint/js` package only\n * ships configs, not a raw `rules` object. ESLint picks them up after Oxlint runs.\n */\nexport function jsRulesEslint(_options: JavaScriptRuleOptions = {}): Linter.RulesRecord {\n return {\n 'prefer-arrow-callback': 'error',\n 'no-useless-assignment': 'error',\n };\n}\n","import type { Linter } from 'eslint';\n\nexport interface ReactRuleOptions {\n fastRefresh?: boolean;\n performance?: boolean;\n}\n\nexport type ReactConfigOptions = boolean | ReactRuleOptions;\n\ninterface ResolvedReactRuleOptions {\n fastRefresh: boolean;\n performance: boolean;\n}\n\nexport const reactFileExtensions = ['**/*.jsx', '**/*.tsx'];\n\nexport function resolveReactRuleOptions(options: ReactConfigOptions = false): ResolvedReactRuleOptions {\n if (options === false) {\n return {\n fastRefresh: false,\n performance: false,\n };\n }\n\n if (options === true) {\n return {\n fastRefresh: true,\n performance: true,\n };\n }\n\n return {\n fastRefresh: options.fastRefresh ?? true,\n performance: options.performance ?? true,\n };\n}\n\nexport function reactRulesOxlint(options: ReactConfigOptions = false): Linter.RulesRecord {\n const resolvedOptions = resolveReactRuleOptions(options);\n\n return {\n 'react/jsx-key': 'error',\n 'react/jsx-no-duplicate-props': 'error',\n 'react/no-children-prop': 'error',\n 'react/no-danger-with-children': 'error',\n 'react/void-dom-elements-no-children': 'error',\n 'react/no-unknown-property': 'error',\n 'react/style-prop-object': 'error',\n 'react/button-has-type': 'error',\n 'react/checked-requires-onchange-or-readonly': 'error',\n 'react/forward-ref-uses-ref': 'error',\n 'react/jsx-props-no-spread-multi': 'error',\n 'react/jsx-no-script-url': 'error',\n 'react/jsx-no-target-blank': 'error',\n 'react/jsx-no-constructed-context-values': 'error',\n 'react/no-unstable-nested-components': 'error',\n 'react/no-array-index-key': 'warn',\n 'react/no-object-type-as-default-prop': 'warn',\n 'react/iframe-missing-sandbox': 'error',\n 'react/no-danger': 'warn',\n\n ...(resolvedOptions.fastRefresh && {\n 'react/only-export-components': ['warn', { allowConstantExport: true }],\n }),\n\n ...(resolvedOptions.performance && {\n 'react-perf/jsx-no-new-object-as-prop': 'warn',\n 'react-perf/jsx-no-new-array-as-prop': 'warn',\n 'react-perf/jsx-no-new-function-as-prop': 'warn',\n 'react-perf/jsx-no-jsx-as-prop': 'warn',\n }),\n };\n}\n","import type { Linter } from 'eslint';\nimport { jsRulesOxlint, type JavaScriptRuleOptions } from './javascript.js';\n\nexport const tsFileExtensions = ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'];\n\nconst tsIgnoreDescriptionFormat = String.raw`^: TS\\d+ because .+$`;\n\nexport interface TypeScriptRuleOptions extends JavaScriptRuleOptions {\n namingConvention?: {\n variable?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n parameter?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n typeLike?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n memberLike?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n function?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n };\n}\n\ninterface NamingConventionFormatOptions {\n inheritFormat?: boolean;\n format?: string[];\n}\n\n/**\n * Lists the type-aware typescript-eslint rules that Oxlint executes natively through tsgolint (`options.typeAware`).\n * They mirror what typescript-eslint's `strictTypeChecked` + `stylisticTypeChecked` presets enabled when these rules\n * still ran under ESLint (same severities, same options), so moving them here changed which engine serves them,\n * not the behavior.\n *\n * Type-aware rules in oxlint's `correctness` category (e.g. `await-thenable`,\n * `unbound-method`) are not listed. They already run via the default category,\n * as `warn`, matching the pre-migration state.\n *\n * `typescript/naming-convention` is one of the two typescript-eslint type-aware rules tsgolint\n * doesn't implement. It stays in ESLint (see {@link tsRulesEslint}).\n */\nexport const tsTypeAwareRulesOxlint: Linter.RulesRecord = {\n 'typescript/no-confusing-void-expression': 'error',\n 'typescript/no-deprecated': 'error',\n 'typescript/no-floating-promises': 'error',\n 'typescript/no-misused-promises': 'error',\n 'typescript/no-mixed-enums': 'error',\n 'typescript/no-unnecessary-boolean-literal-compare': 'error',\n 'typescript/no-unnecessary-condition': 'error',\n 'typescript/no-unnecessary-template-expression': 'error',\n 'typescript/no-unnecessary-type-arguments': 'error',\n 'typescript/no-unnecessary-type-assertion': 'error',\n 'typescript/no-unnecessary-type-conversion': 'error',\n 'typescript/no-unnecessary-type-parameters': 'error',\n 'typescript/no-unsafe-argument': 'error',\n 'typescript/no-unsafe-assignment': 'error',\n 'typescript/no-unsafe-call': 'error',\n 'typescript/no-unsafe-enum-comparison': 'error',\n 'typescript/no-unsafe-member-access': 'error',\n 'typescript/no-unsafe-return': 'error',\n 'typescript/non-nullable-type-assertion-style': 'error',\n 'typescript/only-throw-error': 'error',\n 'typescript/prefer-find': 'error',\n 'typescript/prefer-includes': 'error',\n 'typescript/prefer-nullish-coalescing': ['error', { ignorePrimitives: true }],\n 'typescript/prefer-optional-chain': 'error',\n 'typescript/prefer-promise-reject-errors': 'error',\n 'typescript/prefer-reduce-type-parameter': 'error',\n 'typescript/prefer-regexp-exec': 'error',\n 'typescript/prefer-return-this-type': 'error',\n 'typescript/prefer-string-starts-ends-with': 'error',\n 'typescript/related-getter-setter-pairs': 'error',\n 'typescript/restrict-plus-operands': [\n 'error',\n {\n allowAny: false,\n allowBoolean: false,\n allowNullish: false,\n allowNumberAndString: false,\n allowRegExp: false,\n },\n ],\n 'typescript/return-await': ['error', 'error-handling-correctness-only'],\n 'typescript/use-unknown-in-catch-callback-variable': 'error',\n};\n\n/**\n * Lists the syntax-only rules that Oxlint ports natively and that used to reach ESLint through\n * typescript-eslint's presets. They are the `strictTypeChecked` and `stylisticTypeChecked` rules that\n * don't need type information, plus the ESLint-core rules that typescript-eslint's `eslintRecommended`\n * config raises for TypeScript files (hence the `eslint/` prefix and the TS-files-only scope).\n */\nexport const tsSyntaxRulesOxlint: Linter.RulesRecord = {\n 'typescript/adjacent-overload-signatures': 'error',\n 'typescript/ban-tslint-comment': 'error',\n 'typescript/class-literal-property-style': 'error',\n 'typescript/consistent-generic-constructors': 'error',\n 'typescript/consistent-indexed-object-style': 'error',\n 'typescript/consistent-type-assertions': 'error',\n 'typescript/consistent-type-definitions': 'error',\n 'typescript/no-array-constructor': 'error',\n 'typescript/no-confusing-non-null-assertion': 'error',\n 'typescript/no-empty-object-type': 'error',\n 'typescript/no-extraneous-class': 'error',\n 'typescript/no-inferrable-types': 'error',\n 'typescript/no-invalid-void-type': 'error',\n 'typescript/no-namespace': 'error',\n 'typescript/no-non-null-asserted-nullish-coalescing': 'error',\n 'typescript/no-require-imports': 'error',\n 'typescript/no-unnecessary-type-constraint': 'error',\n 'typescript/no-unsafe-function-type': 'error',\n 'typescript/no-useless-constructor': 'error',\n 'typescript/prefer-for-of': 'error',\n 'typescript/prefer-function-type': 'error',\n 'typescript/prefer-literal-enum-member': 'error',\n 'typescript/unified-signatures': 'error',\n\n 'eslint/no-var': 'error',\n 'eslint/prefer-const': ['error', { destructuring: 'any', ignoreReadBeforeAssign: false }],\n 'eslint/prefer-rest-params': 'error',\n 'eslint/prefer-spread': 'error',\n};\n\nexport function tsRulesOxlint(options: TypeScriptRuleOptions = {}): Linter.RulesRecord {\n return {\n ...jsRulesOxlint(options),\n\n ...tsTypeAwareRulesOxlint,\n ...tsSyntaxRulesOxlint,\n\n 'typescript/no-unused-vars': [\n 'error',\n {\n argsIgnorePattern: '^_',\n ignoreRestSiblings: true,\n },\n ],\n 'typescript/no-non-null-assertion': 'error',\n 'typescript/no-empty-function': 'off',\n 'typescript/no-explicit-any': 'off',\n 'typescript/no-base-to-string': 'off',\n 'typescript/no-dynamic-delete': 'off',\n 'typescript/no-extra-non-null-assertion': 'error',\n 'typescript/no-non-null-asserted-optional-chain': 'error',\n 'typescript/explicit-module-boundary-types': 'off',\n 'typescript/ban-ts-comment': [\n 'error',\n {\n 'ts-expect-error': { descriptionFormat: tsIgnoreDescriptionFormat },\n 'ts-ignore': { descriptionFormat: tsIgnoreDescriptionFormat },\n 'ts-nocheck': true,\n 'ts-check': false,\n },\n ],\n\n '@stylistic/type-annotation-spacing': 'error',\n\n // comment handling conflicts with the padding-line heuristics\n '@stylistic/lines-around-comment': 'off',\n };\n}\n\n/**\n * Only rules Oxlint can't run remain here. `naming-convention` is one of the two typescript-eslint\n * type-aware rules tsgolint doesn't implement, and `explicit-member-accessibility` has no Oxlint\n * port at all.\n */\nexport function tsRulesEslint(options: TypeScriptRuleOptions = {}): Linter.RulesRecord {\n return {\n ...getESLintNamingConventionRule(options.namingConvention),\n '@typescript-eslint/explicit-member-accessibility': ['error', { accessibility: 'no-public' }],\n '@typescript-eslint/no-dynamic-delete': 'off',\n '@typescript-eslint/array-type': 'off',\n '@typescript-eslint/require-await': 'off',\n '@typescript-eslint/no-explicit-any': 'off',\n '@typescript-eslint/no-empty-function': 'off',\n '@typescript-eslint/no-unused-vars': [\n 'error',\n {\n argsIgnorePattern: '^_',\n varsIgnorePattern: '^_',\n caughtErrorsIgnorePattern: '^_',\n destructuredArrayIgnorePattern: '^_',\n ignoreRestSiblings: true,\n },\n ],\n };\n}\n\nexport function getESLintNamingConventionRule(\n extensions?: TypeScriptRuleOptions['namingConvention'],\n): Linter.RulesRecord {\n const oxlintRules = getNamingConventionRule(extensions);\n\n return {\n '@typescript-eslint/naming-convention': oxlintRules['typescript/naming-convention'],\n };\n}\n\nexport function getNamingConventionRule(extensions?: TypeScriptRuleOptions['namingConvention']): Linter.RulesRecord {\n return {\n 'typescript/naming-convention': [\n 'error',\n {\n selector: ['variable'],\n format: mergeFormat(['camelCase', 'UPPER_CASE', 'PascalCase'], extensions?.variable),\n leadingUnderscore: 'allowSingleOrDouble',\n trailingUnderscore: 'forbid',\n filter: {\n regex: generateFilterRegex(['__dirname'], extensions?.variable?.exceptions),\n match: false,\n },\n },\n {\n selector: ['function'],\n format: mergeFormat(['camelCase', 'UPPER_CASE', 'PascalCase'], extensions?.function),\n leadingUnderscore: 'allowSingleOrDouble',\n trailingUnderscore: 'forbid',\n filter: {\n regex: generateFilterRegex(['__dirname'], extensions?.function?.exceptions),\n match: false,\n },\n },\n {\n selector: 'parameter',\n format: mergeFormat(['camelCase', 'UPPER_CASE', 'PascalCase'], extensions?.parameter),\n leadingUnderscore: 'allow',\n ...(extensions?.parameter?.exceptions?.length && {\n filter: {\n regex: generateFilterRegex([], extensions.parameter.exceptions),\n match: false,\n },\n }),\n },\n {\n selector: 'typeLike',\n format: mergeFormat(['PascalCase'], extensions?.typeLike),\n ...(extensions?.typeLike?.exceptions?.length && {\n filter: {\n regex: generateFilterRegex([], extensions.typeLike.exceptions),\n match: false,\n },\n }),\n },\n {\n selector: 'memberLike',\n modifiers: ['private'],\n format: mergeFormat(['camelCase', 'PascalCase'], extensions?.memberLike),\n leadingUnderscore: 'require',\n ...(extensions?.memberLike?.exceptions?.length && {\n filter: {\n regex: generateFilterRegex([], extensions.memberLike.exceptions),\n match: false,\n },\n }),\n },\n ],\n };\n}\n\nfunction mergeFormat(defaults: string[], extensions?: NamingConventionFormatOptions) {\n return [...new Set([...((extensions?.inheritFormat ?? true) ? defaults : []), ...(extensions?.format ?? [])])];\n}\n\nfunction generateFilterRegex(defaults: string[], extensions: string[] = []) {\n return `^(${[...defaults, ...extensions].join('|')})$`;\n}\n"]}
|
|
@@ -136,14 +136,13 @@ var unicornRulesJsPlugin = {
|
|
|
136
136
|
"unicornx/prefer-switch": "error",
|
|
137
137
|
"unicornx/template-indent": "error",
|
|
138
138
|
/**
|
|
139
|
-
* Native port exists but only in oxlint's nursery category, which can't be
|
|
140
|
-
*
|
|
139
|
+
* Native port exists but only in oxlint's nursery category, which can't be enabled from config,
|
|
140
|
+
* so we run the JS original instead.
|
|
141
141
|
*/
|
|
142
142
|
"unicornx/no-useless-iterator-to-array": "error",
|
|
143
143
|
/**
|
|
144
|
-
* Oxlint's port hardcodes uppercase hexadecimal digits, which fights
|
|
145
|
-
*
|
|
146
|
-
* lowercase option instead.
|
|
144
|
+
* Oxlint's port hardcodes uppercase hexadecimal digits, which fights Prettier's lowercase
|
|
145
|
+
* formatting, so we run the JS original with the lowercase option instead.
|
|
147
146
|
*/
|
|
148
147
|
"unicornx/number-literal-case": ["error", { hexadecimalValue: "lowercase" }]
|
|
149
148
|
};
|
|
@@ -163,6 +162,8 @@ var ABBREVIATION_REPLACEMENTS = {
|
|
|
163
162
|
props: false,
|
|
164
163
|
util: false,
|
|
165
164
|
utils: false,
|
|
165
|
+
lib: false,
|
|
166
|
+
libs: false,
|
|
166
167
|
param: false,
|
|
167
168
|
params: false,
|
|
168
169
|
arg: false,
|
|
@@ -257,9 +258,9 @@ var paddingLineEntries = [
|
|
|
257
258
|
next: ["case", "default"]
|
|
258
259
|
},
|
|
259
260
|
{
|
|
260
|
-
blankLine: "
|
|
261
|
+
blankLine: "always",
|
|
261
262
|
prev: "*",
|
|
262
|
-
next: "break"
|
|
263
|
+
next: ["break", "continue"]
|
|
263
264
|
},
|
|
264
265
|
{
|
|
265
266
|
blankLine: "always",
|
|
@@ -281,9 +282,8 @@ var paddingLineEntries = [
|
|
|
281
282
|
}
|
|
282
283
|
},
|
|
283
284
|
/**
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
* wins over the surrounding `*` rules.
|
|
285
|
+
* The rule applies the last entry that matches a statement pair, so the import-to-import entry
|
|
286
|
+
* must come after the surrounding `*` entries.
|
|
287
287
|
*/
|
|
288
288
|
{
|
|
289
289
|
blankLine: "always",
|
|
@@ -301,9 +301,8 @@ var paddingLineEntries = [
|
|
|
301
301
|
next: "import"
|
|
302
302
|
},
|
|
303
303
|
/**
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
* wins over the surrounding `*` rules.
|
|
304
|
+
* The rule applies the last entry that matches a statement pair, so the export-to-export entry
|
|
305
|
+
* must come after the surrounding `*` entries.
|
|
307
306
|
*/
|
|
308
307
|
{
|
|
309
308
|
blankLine: "always",
|
|
@@ -321,7 +320,7 @@ var paddingLineEntries = [
|
|
|
321
320
|
next: "export"
|
|
322
321
|
}
|
|
323
322
|
];
|
|
324
|
-
var jsdocTagLineOptions = ["
|
|
323
|
+
var jsdocTagLineOptions = ["never", { startLines: 1, applyToEndTag: false }];
|
|
325
324
|
function jsRulesOxlint(options = {}) {
|
|
326
325
|
const { preventAbbreviations: preventAbbreviationsOptions } = options;
|
|
327
326
|
const {
|
|
@@ -342,6 +341,7 @@ function jsRulesOxlint(options = {}) {
|
|
|
342
341
|
"no-case-declarations": "error",
|
|
343
342
|
"default-case-last": "error",
|
|
344
343
|
"no-cond-assign": "error",
|
|
344
|
+
"no-return-assign": ["error", "always"],
|
|
345
345
|
"no-dynamic-delete": "off",
|
|
346
346
|
"no-unneeded-ternary": "error",
|
|
347
347
|
"object-shorthand": "error",
|
|
@@ -349,9 +349,8 @@ function jsRulesOxlint(options = {}) {
|
|
|
349
349
|
"@stylistic/padding-line-between-statements": ["error", ...paddingLineEntries],
|
|
350
350
|
"@stylistic/no-trailing-spaces": "error",
|
|
351
351
|
/**
|
|
352
|
-
* Indentation is owned by Prettier. Oxlint's @stylistic/indent port
|
|
353
|
-
*
|
|
354
|
-
* args inside ternaries), so we leave the rule off.
|
|
352
|
+
* Indentation is owned by Prettier. Oxlint's @stylistic/indent port diverges from eslint-stylistic on edge cases
|
|
353
|
+
* (e.g., multiline object args inside ternaries), so we leave the rule off.
|
|
355
354
|
*/
|
|
356
355
|
"@stylistic/indent": "off",
|
|
357
356
|
"@stylistic/no-multiple-empty-lines": ["error", { max: 1 }],
|
|
@@ -384,13 +383,12 @@ function jsRulesOxlint(options = {}) {
|
|
|
384
383
|
allowTypeEnd: false
|
|
385
384
|
}
|
|
386
385
|
],
|
|
387
|
-
// unicorn recommended, split between native oxlint ports and JS originals
|
|
388
386
|
...unicornRulesOxlint,
|
|
389
387
|
...unicornRulesJsPlugin,
|
|
390
388
|
/**
|
|
391
|
-
* Oxlint's built-in `unicorn` / `jsdoc` plugins don't implement these,
|
|
392
|
-
*
|
|
393
|
-
*
|
|
389
|
+
* Oxlint's built-in `unicorn` / `jsdoc` plugins don't implement these, so we wire the original JS
|
|
390
|
+
* plugins under aliased names (see jsPlugins in `src/oxlint.ts`). Rule IDs use the alias instead
|
|
391
|
+
* of the canonical prefix.
|
|
394
392
|
*/
|
|
395
393
|
"unicornx/name-replacements": [
|
|
396
394
|
"error",
|
|
@@ -544,11 +542,6 @@ function tsRulesOxlint(options = {}) {
|
|
|
544
542
|
...jsRulesOxlint(options),
|
|
545
543
|
...tsTypeAwareRulesOxlint,
|
|
546
544
|
...tsSyntaxRulesOxlint,
|
|
547
|
-
/**
|
|
548
|
-
* Oxlint exposes typescript-eslint rules under its own `typescript/`
|
|
549
|
-
* namespace, so rule ids are prefixed `typescript/` rather than
|
|
550
|
-
* `@typescript-eslint/`.
|
|
551
|
-
*/
|
|
552
545
|
"typescript/no-unused-vars": [
|
|
553
546
|
"error",
|
|
554
547
|
{
|
|
@@ -684,4 +677,4 @@ export {
|
|
|
684
677
|
tsRulesOxlint,
|
|
685
678
|
tsRulesEslint
|
|
686
679
|
};
|
|
687
|
-
//# sourceMappingURL=chunk-
|
|
680
|
+
//# sourceMappingURL=chunk-SMTCD6GW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/configs/unicorn.ts","../src/configs/abbreviations.ts","../src/configs/javascript.ts","../src/configs/react.ts","../src/configs/typescript.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\n/**\n * Mirrors `eslint-plugin-unicorn`'s recommended config, split by runtime.\n *\n * Oxlint natively implements most unicorn rules, so we enable those under the canonical\n * `unicorn/` prefix (fast, Rust). Rules oxlint hasn't ported run through the original JS\n * plugin, aliased as `unicornx` in `jsPlugins` (see `src/oxlint.ts`), because oxlint's\n * built-in plugin owns the `unicorn/` namespace.\n *\n * `unicorn/name-replacements` is also not ported. It lives in `javascript.ts` because it\n * takes user-configurable options.\n */\n\n/**\n * Lists the Unicorn recommended rules natively implemented by Oxlint, grouped by the oxlint category\n * they belong to. Only the correctness group is enabled by oxlint's defaults (as `warn`). Everything is\n * set explicitly to `error` to match the recommended config.\n */\nexport const unicornRulesOxlint: Linter.RulesRecord = {\n // correctness\n 'unicorn/no-await-in-promise-methods': 'error',\n 'unicorn/no-empty-file': 'warn',\n 'unicorn/no-invalid-fetch-options': 'error',\n 'unicorn/no-invalid-remove-event-listener': 'error',\n 'unicorn/no-new-array': 'error',\n 'unicorn/no-single-promise-in-promise-methods': 'error',\n 'unicorn/no-thenable': 'error',\n 'unicorn/no-unnecessary-await': 'error',\n 'unicorn/no-useless-fallback-in-spread': 'error',\n 'unicorn/no-useless-length-check': 'error',\n 'unicorn/no-useless-spread': 'error',\n 'unicorn/prefer-set-size': 'error',\n 'unicorn/prefer-string-starts-ends-with': 'error',\n\n // perf\n 'unicorn/prefer-array-find': 'error',\n 'unicorn/prefer-array-flat-map': 'error',\n 'unicorn/prefer-set-has': 'error',\n\n // restriction\n 'unicorn/no-abusive-eslint-disable': 'error',\n 'unicorn/no-anonymous-default-export': 'error',\n 'unicorn/no-array-for-each': 'error',\n 'unicorn/no-array-reduce': 'error',\n 'unicorn/no-document-cookie': 'error',\n 'unicorn/no-magic-array-flat-depth': 'error',\n 'unicorn/no-process-exit': 'error',\n 'unicorn/no-useless-error-capture-stack-trace': 'error',\n 'unicorn/prefer-modern-math-apis': 'error',\n 'unicorn/prefer-module': 'error',\n 'unicorn/prefer-node-protocol': 'error',\n 'unicorn/prefer-number-properties': 'error',\n\n // suspicious\n 'unicorn/consistent-function-scoping': 'error',\n 'unicorn/no-accessor-recursion': 'error',\n 'unicorn/no-array-reverse': 'error',\n 'unicorn/no-array-sort': 'error',\n 'unicorn/no-instanceof-builtins': 'error',\n 'unicorn/prefer-add-event-listener': 'error',\n 'unicorn/require-module-specifiers': 'error',\n\n // pedantic\n 'unicorn/consistent-assert': 'error',\n 'unicorn/consistent-empty-array-spread': 'error',\n 'unicorn/escape-case': 'error',\n 'unicorn/explicit-length-check': 'error',\n 'unicorn/new-for-builtins': 'error',\n 'unicorn/no-array-callback-reference': 'error',\n 'unicorn/no-hex-escape': 'error',\n 'unicorn/no-immediate-mutation': 'error',\n 'unicorn/no-lonely-if': 'error',\n 'unicorn/no-negation-in-equality-check': 'error',\n 'unicorn/no-new-buffer': 'error',\n 'unicorn/no-object-as-default-parameter': 'error',\n 'unicorn/no-static-only-class': 'error',\n 'unicorn/no-this-assignment': 'error',\n 'unicorn/no-typeof-undefined': 'error',\n 'unicorn/no-unnecessary-array-flat-depth': 'error',\n 'unicorn/no-unnecessary-array-splice-count': 'error',\n 'unicorn/no-unnecessary-slice-end': 'error',\n 'unicorn/no-unreadable-iife': 'error',\n 'unicorn/no-useless-promise-resolve-reject': 'error',\n 'unicorn/no-useless-switch-case': 'error',\n 'unicorn/prefer-array-flat': 'error',\n 'unicorn/prefer-array-some': 'error',\n 'unicorn/prefer-at': 'error',\n 'unicorn/prefer-blob-reading-methods': 'error',\n 'unicorn/prefer-code-point': 'error',\n 'unicorn/prefer-date-now': 'error',\n 'unicorn/prefer-dom-node-append': 'error',\n 'unicorn/prefer-dom-node-dataset': 'error',\n 'unicorn/prefer-dom-node-remove': 'error',\n 'unicorn/prefer-event-target': 'error',\n 'unicorn/prefer-math-min-max': 'error',\n 'unicorn/prefer-math-trunc': 'error',\n 'unicorn/prefer-native-coercion-functions': 'error',\n 'unicorn/prefer-prototype-methods': 'error',\n 'unicorn/prefer-query-selector': 'error',\n 'unicorn/prefer-regexp-test': 'error',\n 'unicorn/prefer-string-replace-all': 'error',\n 'unicorn/prefer-string-slice': 'error',\n 'unicorn/prefer-top-level-await': 'error',\n 'unicorn/prefer-type-error': 'error',\n 'unicorn/require-number-to-fixed-digits-argument': 'error',\n\n // style\n 'unicorn/catch-error-name': ['error', { name: 'error' }],\n 'unicorn/consistent-date-clone': 'error',\n 'unicorn/consistent-existence-index-check': 'error',\n 'unicorn/consistent-template-literal-escape': 'error',\n 'unicorn/empty-brace-spaces': 'error',\n 'unicorn/error-message': 'error',\n 'unicorn/no-array-method-this-argument': 'error',\n 'unicorn/no-await-expression-member': 'error',\n 'unicorn/no-console-spaces': 'error',\n 'unicorn/no-unreadable-array-destructuring': 'error',\n 'unicorn/no-useless-collection-argument': 'error',\n 'unicorn/no-zero-fractions': 'error',\n 'unicorn/numeric-separators-style': 'error',\n 'unicorn/prefer-array-index-of': 'error',\n 'unicorn/prefer-bigint-literals': 'error',\n 'unicorn/prefer-class-fields': 'error',\n 'unicorn/prefer-classlist-toggle': 'error',\n 'unicorn/prefer-default-parameters': 'error',\n 'unicorn/prefer-dom-node-text-content': 'error',\n 'unicorn/prefer-global-this': 'error',\n 'unicorn/prefer-includes': 'error',\n 'unicorn/prefer-keyboard-event-key': 'error',\n 'unicorn/prefer-logical-operator-over-ternary': 'error',\n 'unicorn/prefer-modern-dom-apis': 'error',\n 'unicorn/prefer-negative-index': 'error',\n 'unicorn/prefer-object-from-entries': 'error',\n 'unicorn/prefer-optional-catch-binding': 'error',\n 'unicorn/prefer-reflect-apply': 'error',\n 'unicorn/prefer-response-static-json': 'error',\n 'unicorn/prefer-spread': 'error',\n 'unicorn/prefer-string-raw': 'error',\n 'unicorn/prefer-string-trim-start-end': 'error',\n 'unicorn/prefer-structured-clone': 'error',\n 'unicorn/relative-url-style': 'error',\n 'unicorn/require-array-join-separator': 'error',\n 'unicorn/require-module-attributes': 'error',\n 'unicorn/switch-case-braces': 'error',\n 'unicorn/switch-case-break-position': 'error',\n 'unicorn/text-encoding-identifier-case': 'error',\n 'unicorn/throw-new-error': 'error',\n};\n\n/**\n * Lists the Unicorn recommended rules that Oxlint hasn't ported. They run inside Oxlint through the\n * original JS plugin under the `unicornx` alias.\n */\nexport const unicornRulesJsPlugin: Linter.RulesRecord = {\n 'unicornx/isolated-functions': 'error',\n 'unicornx/no-for-loop': 'error',\n 'unicornx/no-named-default': 'error',\n 'unicornx/no-unnecessary-polyfills': 'error',\n 'unicornx/no-unreadable-for-of-expression': 'error',\n 'unicornx/prefer-export-from': 'error',\n 'unicornx/prefer-simple-condition-first': 'error',\n 'unicornx/prefer-single-call': 'error',\n 'unicornx/prefer-switch': 'error',\n 'unicornx/template-indent': 'error',\n\n /**\n * Native port exists but only in oxlint's nursery category, which can't be enabled from config,\n * so we run the JS original instead.\n */\n 'unicornx/no-useless-iterator-to-array': 'error',\n\n /**\n * Oxlint's port hardcodes uppercase hexadecimal digits, which fights Prettier's lowercase\n * formatting, so we run the JS original with the lowercase option instead.\n */\n 'unicornx/number-literal-case': ['error', { hexadecimalValue: 'lowercase' }],\n};\n\n/**\n * Lists the Unicorn recommended rules that can't run inside Oxlint's JS-plugin host yet because the\n * compat layer is missing ESLint APIs (e.g. `sourceCode.getDisableDirectives`). ESLint picks them up\n * after Oxlint runs.\n */\nexport const unicornRulesEslint: Linter.RulesRecord = {\n 'unicorn/expiring-todo-comments': 'error',\n};\n","export const DEFAULT_ABBREVIATION_ALLOW_LIST = ['fn', 'cb', 'err', 'prev', 'dev', 'i'];\n\nexport const ABBREVIATION_REPLACEMENTS: Record<string, Record<string, boolean> | false> = {\n ref: false,\n refs: false,\n dev: false,\n dir: false,\n env: false,\n prop: false,\n props: false,\n util: false,\n utils: false,\n lib: false,\n libs: false,\n param: false,\n params: false,\n arg: false,\n args: false,\n db: false,\n ev: { event: true },\n val: { value: true },\n msg: { message: true },\n el: { element: true },\n elem: { element: true },\n btn: { button: true },\n cb: { callback: true },\n fn: { function: true },\n err: { error: true },\n opts: { options: true },\n cfg: { config: true },\n obj: { object: true },\n arr: { array: true },\n str: { string: true },\n num: { number: true },\n curr: { current: true },\n len: { length: true },\n e: { event: true, error: true },\n};\n","import type { Linter } from 'eslint';\nimport { ABBREVIATION_REPLACEMENTS, DEFAULT_ABBREVIATION_ALLOW_LIST } from './abbreviations.js';\nimport { unicornRulesJsPlugin, unicornRulesOxlint } from './unicorn.js';\n\nexport const jsFileExtensions = ['**/*.js', '**/*.jsx', '**/*.mjs', '**/*.cjs'];\n\nexport const paddingLineEntries = [\n {\n blankLine: 'always',\n prev: '*',\n next: ['block', 'block-like', 'class', 'const', 'let'],\n },\n {\n blankLine: 'always',\n prev: 'block',\n next: '*',\n },\n {\n blankLine: 'always',\n prev: ['const'],\n next: '*',\n },\n {\n blankLine: 'always',\n prev: ['let'],\n next: '*',\n },\n {\n blankLine: 'any',\n prev: ['const'],\n next: ['const'],\n },\n {\n blankLine: 'any',\n prev: ['let'],\n next: ['let'],\n },\n {\n blankLine: 'always',\n prev: ['let'],\n next: ['const'],\n },\n {\n blankLine: 'always',\n prev: ['const'],\n next: ['let'],\n },\n {\n blankLine: 'always',\n prev: ['singleline-const'],\n next: ['multiline-const'],\n },\n {\n blankLine: 'always',\n prev: ['multiline-const'],\n next: ['singleline-const'],\n },\n {\n blankLine: 'always',\n prev: ['singleline-let'],\n next: ['multiline-let'],\n },\n {\n blankLine: 'always',\n prev: ['multiline-let'],\n next: ['singleline-let'],\n },\n {\n blankLine: 'any',\n prev: ['case', 'block', 'block-like'],\n next: ['case', 'default'],\n },\n {\n blankLine: 'always',\n prev: '*',\n next: ['break', 'continue'],\n },\n {\n blankLine: 'always',\n prev: 'if',\n next: '*',\n },\n {\n blankLine: 'always',\n prev: {\n selector:\n 'ExpressionStatement:matches([expression.type=\"CallExpression\"], [expression.type=\"AwaitExpression\"][expression.argument.type=\"CallExpression\"])',\n },\n next: { selector: 'ExpressionStatement[expression.type=\"AssignmentExpression\"]' },\n },\n {\n blankLine: 'always',\n prev: { selector: 'ExpressionStatement[expression.type=\"AssignmentExpression\"]' },\n next: {\n selector:\n 'ExpressionStatement:matches([expression.type=\"CallExpression\"], [expression.type=\"AwaitExpression\"][expression.argument.type=\"CallExpression\"])',\n },\n },\n /**\n * The rule applies the last entry that matches a statement pair, so the import-to-import entry\n * must come after the surrounding `*` entries.\n */\n {\n blankLine: 'always',\n prev: 'import',\n next: '*',\n },\n {\n blankLine: 'always',\n prev: '*',\n next: 'import',\n },\n {\n blankLine: 'any',\n prev: 'import',\n next: 'import',\n },\n /**\n * The rule applies the last entry that matches a statement pair, so the export-to-export entry\n * must come after the surrounding `*` entries.\n */\n {\n blankLine: 'always',\n prev: 'export',\n next: '*',\n },\n {\n blankLine: 'always',\n prev: '*',\n next: 'export',\n },\n {\n blankLine: 'any',\n prev: 'export',\n next: 'export',\n },\n];\n\nexport const jsdocTagLineOptions = ['never', { startLines: 1, applyToEndTag: false }];\n\nexport interface JavaScriptRuleOptions {\n preventAbbreviations?: {\n allowList?: string[];\n inheritAllowList?: boolean;\n replacements?: Record<string, Record<string, boolean> | false>;\n inheritReplacements?: boolean;\n };\n}\n\nexport function jsRulesOxlint(options: JavaScriptRuleOptions = {}): Linter.RulesRecord {\n const { preventAbbreviations: preventAbbreviationsOptions } = options;\n\n const {\n inheritAllowList = true,\n inheritReplacements = true,\n allowList = [],\n replacements = {},\n } = preventAbbreviationsOptions ?? {};\n\n const effectiveAllowList = inheritAllowList ? [...DEFAULT_ABBREVIATION_ALLOW_LIST, ...allowList] : allowList;\n\n return {\n 'consistent-return': 'error',\n curly: ['error', 'all'],\n 'arrow-body-style': 'off',\n 'dot-notation': 'error',\n 'no-debugger': 'warn',\n 'no-unused-vars': 'off',\n 'no-async-promise-executor': 'error',\n 'no-case-declarations': 'error',\n 'default-case-last': 'error',\n 'no-cond-assign': 'error',\n 'no-return-assign': ['error', 'always'],\n 'no-dynamic-delete': 'off',\n 'no-unneeded-ternary': 'error',\n 'object-shorthand': 'error',\n 'no-constant-condition': ['error', { checkLoops: false }],\n\n '@stylistic/padding-line-between-statements': ['error', ...paddingLineEntries],\n '@stylistic/no-trailing-spaces': 'error',\n\n /**\n * Indentation is owned by Prettier. Oxlint's @stylistic/indent port diverges from eslint-stylistic on edge cases\n * (e.g., multiline object args inside ternaries), so we leave the rule off.\n */\n '@stylistic/indent': 'off',\n '@stylistic/no-multiple-empty-lines': ['error', { max: 1 }],\n '@stylistic/multiline-comment-style': ['error', 'starred-block'],\n '@stylistic/spaced-comment': [\n 'error',\n 'always',\n {\n block: { balanced: true },\n },\n ],\n '@stylistic/brace-style': ['error', '1tbs'],\n '@stylistic/lines-around-comment': [\n 'error',\n {\n beforeBlockComment: true,\n beforeLineComment: true,\n allowBlockStart: true,\n allowBlockEnd: false,\n allowObjectStart: true,\n allowObjectEnd: false,\n allowArrayStart: true,\n allowArrayEnd: true,\n allowClassStart: true,\n allowInterfaceStart: true,\n allowInterfaceEnd: true,\n allowEnumStart: true,\n allowEnumEnd: true,\n allowTypeStart: true,\n allowTypeEnd: false,\n },\n ],\n\n ...unicornRulesOxlint,\n ...unicornRulesJsPlugin,\n\n /**\n * Oxlint's built-in `unicorn` / `jsdoc` plugins don't implement these, so we wire the original JS\n * plugins under aliased names (see jsPlugins in `src/oxlint.ts`). Rule IDs use the alias instead\n * of the canonical prefix.\n */\n 'unicornx/name-replacements': [\n 'error',\n {\n replacements: inheritReplacements ? { ...ABBREVIATION_REPLACEMENTS, ...replacements } : replacements,\n allowList: Object.fromEntries(effectiveAllowList.map((name) => [name, true])),\n },\n ],\n\n 'jsdocx/tag-lines': ['error', ...jsdocTagLineOptions],\n };\n}\n\n/**\n * These rules can't run under Oxlint. They are ESLint-core rules that Oxlint hasn't implemented\n * (`prefer-arrow-callback`) or only ships in its nursery category (`no-useless-assignment`), and no\n * plugin we can alias into oxlint's `jsPlugins` exposes them, because the `@eslint/js` package only\n * ships configs, not a raw `rules` object. ESLint picks them up after Oxlint runs.\n */\nexport function jsRulesEslint(_options: JavaScriptRuleOptions = {}): Linter.RulesRecord {\n return {\n 'prefer-arrow-callback': 'error',\n 'no-useless-assignment': 'error',\n };\n}\n","import type { Linter } from 'eslint';\n\nexport interface ReactRuleOptions {\n fastRefresh?: boolean;\n performance?: boolean;\n}\n\nexport type ReactConfigOptions = boolean | ReactRuleOptions;\n\ninterface ResolvedReactRuleOptions {\n fastRefresh: boolean;\n performance: boolean;\n}\n\nexport const reactFileExtensions = ['**/*.jsx', '**/*.tsx'];\n\nexport function resolveReactRuleOptions(options: ReactConfigOptions = false): ResolvedReactRuleOptions {\n if (options === false) {\n return {\n fastRefresh: false,\n performance: false,\n };\n }\n\n if (options === true) {\n return {\n fastRefresh: true,\n performance: true,\n };\n }\n\n return {\n fastRefresh: options.fastRefresh ?? true,\n performance: options.performance ?? true,\n };\n}\n\nexport function reactRulesOxlint(options: ReactConfigOptions = false): Linter.RulesRecord {\n const resolvedOptions = resolveReactRuleOptions(options);\n\n return {\n 'react/jsx-key': 'error',\n 'react/jsx-no-duplicate-props': 'error',\n 'react/no-children-prop': 'error',\n 'react/no-danger-with-children': 'error',\n 'react/void-dom-elements-no-children': 'error',\n 'react/no-unknown-property': 'error',\n 'react/style-prop-object': 'error',\n 'react/button-has-type': 'error',\n 'react/checked-requires-onchange-or-readonly': 'error',\n 'react/forward-ref-uses-ref': 'error',\n 'react/jsx-props-no-spread-multi': 'error',\n 'react/jsx-no-script-url': 'error',\n 'react/jsx-no-target-blank': 'error',\n 'react/jsx-no-constructed-context-values': 'error',\n 'react/no-unstable-nested-components': 'error',\n 'react/no-array-index-key': 'warn',\n 'react/no-object-type-as-default-prop': 'warn',\n 'react/iframe-missing-sandbox': 'error',\n 'react/no-danger': 'warn',\n\n ...(resolvedOptions.fastRefresh && {\n 'react/only-export-components': ['warn', { allowConstantExport: true }],\n }),\n\n ...(resolvedOptions.performance && {\n 'react-perf/jsx-no-new-object-as-prop': 'warn',\n 'react-perf/jsx-no-new-array-as-prop': 'warn',\n 'react-perf/jsx-no-new-function-as-prop': 'warn',\n 'react-perf/jsx-no-jsx-as-prop': 'warn',\n }),\n };\n}\n","import type { Linter } from 'eslint';\nimport { jsRulesOxlint, type JavaScriptRuleOptions } from './javascript.js';\n\nexport const tsFileExtensions = ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'];\n\nconst tsIgnoreDescriptionFormat = String.raw`^: TS\\d+ because .+$`;\n\nexport interface TypeScriptRuleOptions extends JavaScriptRuleOptions {\n namingConvention?: {\n variable?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n parameter?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n typeLike?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n memberLike?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n function?: {\n inheritFormat?: boolean;\n format?: string[];\n exceptions?: string[];\n };\n };\n}\n\ninterface NamingConventionFormatOptions {\n inheritFormat?: boolean;\n format?: string[];\n}\n\n/**\n * Lists the type-aware typescript-eslint rules that Oxlint executes natively through tsgolint (`options.typeAware`).\n * They mirror what typescript-eslint's `strictTypeChecked` + `stylisticTypeChecked` presets enabled when these rules\n * still ran under ESLint (same severities, same options), so moving them here changed which engine serves them,\n * not the behavior.\n *\n * Type-aware rules in oxlint's `correctness` category (e.g. `await-thenable`,\n * `unbound-method`) are not listed. They already run via the default category,\n * as `warn`, matching the pre-migration state.\n *\n * `typescript/naming-convention` is one of the two typescript-eslint type-aware rules tsgolint\n * doesn't implement. It stays in ESLint (see {@link tsRulesEslint}).\n */\nexport const tsTypeAwareRulesOxlint: Linter.RulesRecord = {\n 'typescript/no-confusing-void-expression': 'error',\n 'typescript/no-deprecated': 'error',\n 'typescript/no-floating-promises': 'error',\n 'typescript/no-misused-promises': 'error',\n 'typescript/no-mixed-enums': 'error',\n 'typescript/no-unnecessary-boolean-literal-compare': 'error',\n 'typescript/no-unnecessary-condition': 'error',\n 'typescript/no-unnecessary-template-expression': 'error',\n 'typescript/no-unnecessary-type-arguments': 'error',\n 'typescript/no-unnecessary-type-assertion': 'error',\n 'typescript/no-unnecessary-type-conversion': 'error',\n 'typescript/no-unnecessary-type-parameters': 'error',\n 'typescript/no-unsafe-argument': 'error',\n 'typescript/no-unsafe-assignment': 'error',\n 'typescript/no-unsafe-call': 'error',\n 'typescript/no-unsafe-enum-comparison': 'error',\n 'typescript/no-unsafe-member-access': 'error',\n 'typescript/no-unsafe-return': 'error',\n 'typescript/non-nullable-type-assertion-style': 'error',\n 'typescript/only-throw-error': 'error',\n 'typescript/prefer-find': 'error',\n 'typescript/prefer-includes': 'error',\n 'typescript/prefer-nullish-coalescing': ['error', { ignorePrimitives: true }],\n 'typescript/prefer-optional-chain': 'error',\n 'typescript/prefer-promise-reject-errors': 'error',\n 'typescript/prefer-reduce-type-parameter': 'error',\n 'typescript/prefer-regexp-exec': 'error',\n 'typescript/prefer-return-this-type': 'error',\n 'typescript/prefer-string-starts-ends-with': 'error',\n 'typescript/related-getter-setter-pairs': 'error',\n 'typescript/restrict-plus-operands': [\n 'error',\n {\n allowAny: false,\n allowBoolean: false,\n allowNullish: false,\n allowNumberAndString: false,\n allowRegExp: false,\n },\n ],\n 'typescript/return-await': ['error', 'error-handling-correctness-only'],\n 'typescript/use-unknown-in-catch-callback-variable': 'error',\n};\n\n/**\n * Lists the syntax-only rules that Oxlint ports natively and that used to reach ESLint through\n * typescript-eslint's presets. They are the `strictTypeChecked` and `stylisticTypeChecked` rules that\n * don't need type information, plus the ESLint-core rules that typescript-eslint's `eslintRecommended`\n * config raises for TypeScript files (hence the `eslint/` prefix and the TS-files-only scope).\n */\nexport const tsSyntaxRulesOxlint: Linter.RulesRecord = {\n 'typescript/adjacent-overload-signatures': 'error',\n 'typescript/ban-tslint-comment': 'error',\n 'typescript/class-literal-property-style': 'error',\n 'typescript/consistent-generic-constructors': 'error',\n 'typescript/consistent-indexed-object-style': 'error',\n 'typescript/consistent-type-assertions': 'error',\n 'typescript/consistent-type-definitions': 'error',\n 'typescript/no-array-constructor': 'error',\n 'typescript/no-confusing-non-null-assertion': 'error',\n 'typescript/no-empty-object-type': 'error',\n 'typescript/no-extraneous-class': 'error',\n 'typescript/no-inferrable-types': 'error',\n 'typescript/no-invalid-void-type': 'error',\n 'typescript/no-namespace': 'error',\n 'typescript/no-non-null-asserted-nullish-coalescing': 'error',\n 'typescript/no-require-imports': 'error',\n 'typescript/no-unnecessary-type-constraint': 'error',\n 'typescript/no-unsafe-function-type': 'error',\n 'typescript/no-useless-constructor': 'error',\n 'typescript/prefer-for-of': 'error',\n 'typescript/prefer-function-type': 'error',\n 'typescript/prefer-literal-enum-member': 'error',\n 'typescript/unified-signatures': 'error',\n\n 'eslint/no-var': 'error',\n 'eslint/prefer-const': ['error', { destructuring: 'any', ignoreReadBeforeAssign: false }],\n 'eslint/prefer-rest-params': 'error',\n 'eslint/prefer-spread': 'error',\n};\n\nexport function tsRulesOxlint(options: TypeScriptRuleOptions = {}): Linter.RulesRecord {\n return {\n ...jsRulesOxlint(options),\n\n ...tsTypeAwareRulesOxlint,\n ...tsSyntaxRulesOxlint,\n\n 'typescript/no-unused-vars': [\n 'error',\n {\n argsIgnorePattern: '^_',\n ignoreRestSiblings: true,\n },\n ],\n 'typescript/no-non-null-assertion': 'error',\n 'typescript/no-empty-function': 'off',\n 'typescript/no-explicit-any': 'off',\n 'typescript/no-base-to-string': 'off',\n 'typescript/no-dynamic-delete': 'off',\n 'typescript/no-extra-non-null-assertion': 'error',\n 'typescript/no-non-null-asserted-optional-chain': 'error',\n 'typescript/explicit-module-boundary-types': 'off',\n 'typescript/ban-ts-comment': [\n 'error',\n {\n 'ts-expect-error': { descriptionFormat: tsIgnoreDescriptionFormat },\n 'ts-ignore': { descriptionFormat: tsIgnoreDescriptionFormat },\n 'ts-nocheck': true,\n 'ts-check': false,\n },\n ],\n\n '@stylistic/type-annotation-spacing': 'error',\n\n // comment handling conflicts with the padding-line heuristics\n '@stylistic/lines-around-comment': 'off',\n };\n}\n\n/**\n * Only rules Oxlint can't run remain here. `naming-convention` is one of the two typescript-eslint\n * type-aware rules tsgolint doesn't implement, and `explicit-member-accessibility` has no Oxlint\n * port at all.\n */\nexport function tsRulesEslint(options: TypeScriptRuleOptions = {}): Linter.RulesRecord {\n return {\n ...getESLintNamingConventionRule(options.namingConvention),\n '@typescript-eslint/explicit-member-accessibility': ['error', { accessibility: 'no-public' }],\n '@typescript-eslint/no-dynamic-delete': 'off',\n '@typescript-eslint/array-type': 'off',\n '@typescript-eslint/require-await': 'off',\n '@typescript-eslint/no-explicit-any': 'off',\n '@typescript-eslint/no-empty-function': 'off',\n '@typescript-eslint/no-unused-vars': [\n 'error',\n {\n argsIgnorePattern: '^_',\n varsIgnorePattern: '^_',\n caughtErrorsIgnorePattern: '^_',\n destructuredArrayIgnorePattern: '^_',\n ignoreRestSiblings: true,\n },\n ],\n };\n}\n\nexport function getESLintNamingConventionRule(\n extensions?: TypeScriptRuleOptions['namingConvention'],\n): Linter.RulesRecord {\n const oxlintRules = getNamingConventionRule(extensions);\n\n return {\n '@typescript-eslint/naming-convention': oxlintRules['typescript/naming-convention'],\n };\n}\n\nexport function getNamingConventionRule(extensions?: TypeScriptRuleOptions['namingConvention']): Linter.RulesRecord {\n return {\n 'typescript/naming-convention': [\n 'error',\n {\n selector: ['variable'],\n format: mergeFormat(['camelCase', 'UPPER_CASE', 'PascalCase'], extensions?.variable),\n leadingUnderscore: 'allowSingleOrDouble',\n trailingUnderscore: 'forbid',\n filter: {\n regex: generateFilterRegex(['__dirname'], extensions?.variable?.exceptions),\n match: false,\n },\n },\n {\n selector: ['function'],\n format: mergeFormat(['camelCase', 'UPPER_CASE', 'PascalCase'], extensions?.function),\n leadingUnderscore: 'allowSingleOrDouble',\n trailingUnderscore: 'forbid',\n filter: {\n regex: generateFilterRegex(['__dirname'], extensions?.function?.exceptions),\n match: false,\n },\n },\n {\n selector: 'parameter',\n format: mergeFormat(['camelCase', 'UPPER_CASE', 'PascalCase'], extensions?.parameter),\n leadingUnderscore: 'allow',\n ...(extensions?.parameter?.exceptions?.length && {\n filter: {\n regex: generateFilterRegex([], extensions.parameter.exceptions),\n match: false,\n },\n }),\n },\n {\n selector: 'typeLike',\n format: mergeFormat(['PascalCase'], extensions?.typeLike),\n ...(extensions?.typeLike?.exceptions?.length && {\n filter: {\n regex: generateFilterRegex([], extensions.typeLike.exceptions),\n match: false,\n },\n }),\n },\n {\n selector: 'memberLike',\n modifiers: ['private'],\n format: mergeFormat(['camelCase', 'PascalCase'], extensions?.memberLike),\n leadingUnderscore: 'require',\n ...(extensions?.memberLike?.exceptions?.length && {\n filter: {\n regex: generateFilterRegex([], extensions.memberLike.exceptions),\n match: false,\n },\n }),\n },\n ],\n };\n}\n\nfunction mergeFormat(defaults: string[], extensions?: NamingConventionFormatOptions) {\n return [...new Set([...((extensions?.inheritFormat ?? true) ? defaults : []), ...(extensions?.format ?? [])])];\n}\n\nfunction generateFilterRegex(defaults: string[], extensions: string[] = []) {\n return `^(${[...defaults, ...extensions].join('|')})$`;\n}\n"],"mappings":";AAmBO,IAAM,qBAAyC;AAAA;AAAA,EAEpD,uCAAuC;AAAA,EACvC,yBAAyB;AAAA,EACzB,oCAAoC;AAAA,EACpC,4CAA4C;AAAA,EAC5C,wBAAwB;AAAA,EACxB,gDAAgD;AAAA,EAChD,uBAAuB;AAAA,EACvB,gCAAgC;AAAA,EAChC,yCAAyC;AAAA,EACzC,mCAAmC;AAAA,EACnC,6BAA6B;AAAA,EAC7B,2BAA2B;AAAA,EAC3B,0CAA0C;AAAA;AAAA,EAG1C,6BAA6B;AAAA,EAC7B,iCAAiC;AAAA,EACjC,0BAA0B;AAAA;AAAA,EAG1B,qCAAqC;AAAA,EACrC,uCAAuC;AAAA,EACvC,6BAA6B;AAAA,EAC7B,2BAA2B;AAAA,EAC3B,8BAA8B;AAAA,EAC9B,qCAAqC;AAAA,EACrC,2BAA2B;AAAA,EAC3B,gDAAgD;AAAA,EAChD,mCAAmC;AAAA,EACnC,yBAAyB;AAAA,EACzB,gCAAgC;AAAA,EAChC,oCAAoC;AAAA;AAAA,EAGpC,uCAAuC;AAAA,EACvC,iCAAiC;AAAA,EACjC,4BAA4B;AAAA,EAC5B,yBAAyB;AAAA,EACzB,kCAAkC;AAAA,EAClC,qCAAqC;AAAA,EACrC,qCAAqC;AAAA;AAAA,EAGrC,6BAA6B;AAAA,EAC7B,yCAAyC;AAAA,EACzC,uBAAuB;AAAA,EACvB,iCAAiC;AAAA,EACjC,4BAA4B;AAAA,EAC5B,uCAAuC;AAAA,EACvC,yBAAyB;AAAA,EACzB,iCAAiC;AAAA,EACjC,wBAAwB;AAAA,EACxB,yCAAyC;AAAA,EACzC,yBAAyB;AAAA,EACzB,0CAA0C;AAAA,EAC1C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