eslint-config-decent 4.2.35 → 4.2.36
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/dist/oxlint.cjs +4 -1
- package/dist/oxlint.mjs +4 -1
- package/package.json +1 -1
- package/src/oxlint.ts +4 -1
package/dist/oxlint.cjs
CHANGED
|
@@ -547,7 +547,6 @@ function oxlintConfig(options) {
|
|
|
547
547
|
...eslintCjsEsmRules,
|
|
548
548
|
...eslintCompatRules,
|
|
549
549
|
...typescriptRules,
|
|
550
|
-
...typescriptCompatRules,
|
|
551
550
|
...importRules,
|
|
552
551
|
...unicornRules,
|
|
553
552
|
...unicornCompatRules,
|
|
@@ -560,6 +559,10 @@ function oxlintConfig(options) {
|
|
|
560
559
|
...enableNextJs ? nextjsRules : {}
|
|
561
560
|
};
|
|
562
561
|
const overrides = [
|
|
562
|
+
{
|
|
563
|
+
files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
|
|
564
|
+
rules: typescriptCompatRules
|
|
565
|
+
},
|
|
563
566
|
...enableReact ? [
|
|
564
567
|
{
|
|
565
568
|
files: ["**/*.tsx"],
|
package/dist/oxlint.mjs
CHANGED
|
@@ -545,7 +545,6 @@ function oxlintConfig(options) {
|
|
|
545
545
|
...eslintCjsEsmRules,
|
|
546
546
|
...eslintCompatRules,
|
|
547
547
|
...typescriptRules,
|
|
548
|
-
...typescriptCompatRules,
|
|
549
548
|
...importRules,
|
|
550
549
|
...unicornRules,
|
|
551
550
|
...unicornCompatRules,
|
|
@@ -558,6 +557,10 @@ function oxlintConfig(options) {
|
|
|
558
557
|
...enableNextJs ? nextjsRules : {}
|
|
559
558
|
};
|
|
560
559
|
const overrides = [
|
|
560
|
+
{
|
|
561
|
+
files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
|
|
562
|
+
rules: typescriptCompatRules
|
|
563
|
+
},
|
|
561
564
|
...enableReact ? [
|
|
562
565
|
{
|
|
563
566
|
files: ["**/*.tsx"],
|
package/package.json
CHANGED
package/src/oxlint.ts
CHANGED
|
@@ -599,7 +599,6 @@ export function oxlintConfig(options?: OxlintConfigOptions): OxlintConfig {
|
|
|
599
599
|
...eslintCjsEsmRules,
|
|
600
600
|
...eslintCompatRules,
|
|
601
601
|
...typescriptRules,
|
|
602
|
-
...typescriptCompatRules,
|
|
603
602
|
...importRules,
|
|
604
603
|
...unicornRules,
|
|
605
604
|
...unicornCompatRules,
|
|
@@ -613,6 +612,10 @@ export function oxlintConfig(options?: OxlintConfigOptions): OxlintConfig {
|
|
|
613
612
|
};
|
|
614
613
|
|
|
615
614
|
const overrides: OxlintOverride[] = [
|
|
615
|
+
{
|
|
616
|
+
files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
|
|
617
|
+
rules: typescriptCompatRules,
|
|
618
|
+
},
|
|
616
619
|
...(enableReact
|
|
617
620
|
? [
|
|
618
621
|
{
|