eslint-config-decent 1.2.6 → 1.2.8
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/index.cjs +17 -11
- package/dist/index.mjs +17 -11
- package/package.json +1 -1
- package/src/index.ts +17 -11
package/dist/index.cjs
CHANGED
|
@@ -658,8 +658,23 @@ function defaultConfig(options) {
|
|
|
658
658
|
ignores: ["**/dist/**", "**/node_modules/**"]
|
|
659
659
|
},
|
|
660
660
|
eslint__default.configs.recommended,
|
|
661
|
-
|
|
662
|
-
|
|
661
|
+
{
|
|
662
|
+
languageOptions: {
|
|
663
|
+
...tsEslint__default.configs.base.languageOptions
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
...tsEslint__default.configs.strictTypeChecked.map((config) => {
|
|
667
|
+
return {
|
|
668
|
+
...config,
|
|
669
|
+
files: ["**/*.ts", "**/*.tsx"]
|
|
670
|
+
};
|
|
671
|
+
}),
|
|
672
|
+
...tsEslint__default.configs.stylisticTypeChecked.map((config) => {
|
|
673
|
+
return {
|
|
674
|
+
...config,
|
|
675
|
+
files: ["**/*.ts", "**/*.tsx"]
|
|
676
|
+
};
|
|
677
|
+
}),
|
|
663
678
|
{
|
|
664
679
|
languageOptions,
|
|
665
680
|
settings: {
|
|
@@ -711,15 +726,6 @@ function defaultConfig(options) {
|
|
|
711
726
|
},
|
|
712
727
|
...configs$8.cjs
|
|
713
728
|
},
|
|
714
|
-
{
|
|
715
|
-
name: "eslint-config-decent/js-cleanup",
|
|
716
|
-
files: ["**/*.js", "**/*.cjs", "**/*.mjs"],
|
|
717
|
-
rules: {
|
|
718
|
-
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
719
|
-
"@typescript-eslint/no-unsafe-call": "off",
|
|
720
|
-
"@typescript-eslint/no-unsafe-member-access": "off"
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
729
|
{
|
|
724
730
|
name: "eslint-config-decent/tests",
|
|
725
731
|
files: ["**/*.tests.ts", "tests/tests.ts"],
|
package/dist/index.mjs
CHANGED
|
@@ -640,8 +640,23 @@ function defaultConfig(options) {
|
|
|
640
640
|
ignores: ["**/dist/**", "**/node_modules/**"]
|
|
641
641
|
},
|
|
642
642
|
eslint.configs.recommended,
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
{
|
|
644
|
+
languageOptions: {
|
|
645
|
+
...tsEslint.configs.base.languageOptions
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
...tsEslint.configs.strictTypeChecked.map((config) => {
|
|
649
|
+
return {
|
|
650
|
+
...config,
|
|
651
|
+
files: ["**/*.ts", "**/*.tsx"]
|
|
652
|
+
};
|
|
653
|
+
}),
|
|
654
|
+
...tsEslint.configs.stylisticTypeChecked.map((config) => {
|
|
655
|
+
return {
|
|
656
|
+
...config,
|
|
657
|
+
files: ["**/*.ts", "**/*.tsx"]
|
|
658
|
+
};
|
|
659
|
+
}),
|
|
645
660
|
{
|
|
646
661
|
languageOptions,
|
|
647
662
|
settings: {
|
|
@@ -693,15 +708,6 @@ function defaultConfig(options) {
|
|
|
693
708
|
},
|
|
694
709
|
...configs$8.cjs
|
|
695
710
|
},
|
|
696
|
-
{
|
|
697
|
-
name: "eslint-config-decent/js-cleanup",
|
|
698
|
-
files: ["**/*.js", "**/*.cjs", "**/*.mjs"],
|
|
699
|
-
rules: {
|
|
700
|
-
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
701
|
-
"@typescript-eslint/no-unsafe-call": "off",
|
|
702
|
-
"@typescript-eslint/no-unsafe-member-access": "off"
|
|
703
|
-
}
|
|
704
|
-
},
|
|
705
711
|
{
|
|
706
712
|
name: "eslint-config-decent/tests",
|
|
707
713
|
files: ["**/*.tests.ts", "tests/tests.ts"],
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -48,8 +48,23 @@ export function defaultConfig(options?: DefaultConfigOptions): ConfigWithExtends
|
|
|
48
48
|
ignores: ['**/dist/**', '**/node_modules/**'],
|
|
49
49
|
},
|
|
50
50
|
eslint.configs.recommended,
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
{
|
|
52
|
+
languageOptions: {
|
|
53
|
+
...tsEslint.configs.base.languageOptions,
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
...tsEslint.configs.strictTypeChecked.map((config) => {
|
|
57
|
+
return {
|
|
58
|
+
...config,
|
|
59
|
+
files: ['**/*.ts', '**/*.tsx'],
|
|
60
|
+
};
|
|
61
|
+
}),
|
|
62
|
+
...tsEslint.configs.stylisticTypeChecked.map((config) => {
|
|
63
|
+
return {
|
|
64
|
+
...config,
|
|
65
|
+
files: ['**/*.ts', '**/*.tsx'],
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
53
68
|
{
|
|
54
69
|
languageOptions,
|
|
55
70
|
settings: {
|
|
@@ -101,15 +116,6 @@ export function defaultConfig(options?: DefaultConfigOptions): ConfigWithExtends
|
|
|
101
116
|
},
|
|
102
117
|
...eslintConfigs.cjs,
|
|
103
118
|
},
|
|
104
|
-
{
|
|
105
|
-
name: 'eslint-config-decent/js-cleanup',
|
|
106
|
-
files: ['**/*.js', '**/*.cjs', '**/*.mjs'],
|
|
107
|
-
rules: {
|
|
108
|
-
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
109
|
-
'@typescript-eslint/no-unsafe-call': 'off',
|
|
110
|
-
'@typescript-eslint/no-unsafe-member-access': 'off',
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
119
|
{
|
|
114
120
|
name: 'eslint-config-decent/tests',
|
|
115
121
|
files: ['**/*.tests.ts', 'tests/tests.ts'],
|