eslint-config-heck 4.0.1 → 4.0.3
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/complexity.mjs +0 -1
- package/groupImports.mjs +0 -2
- package/node.mjs +6 -1
- package/nodeWithBiome.mjs +6 -1
- package/package.json +1 -2
- package/reactNative.mjs +0 -1
package/complexity.mjs
CHANGED
package/groupImports.mjs
CHANGED
package/node.mjs
CHANGED
|
@@ -806,6 +806,10 @@ export default [
|
|
|
806
806
|
"import/prefer-default-export": "off",
|
|
807
807
|
},
|
|
808
808
|
},
|
|
809
|
+
{
|
|
810
|
+
files: ["**/*.ts", "**/*.tsx"],
|
|
811
|
+
...importPlugin.flatConfigs.typescript,
|
|
812
|
+
},
|
|
809
813
|
{
|
|
810
814
|
files: ["**/*.ts", "**/*.tsx"],
|
|
811
815
|
plugins: {
|
|
@@ -815,7 +819,8 @@ export default [
|
|
|
815
819
|
parser: tsParser,
|
|
816
820
|
sourceType: "module",
|
|
817
821
|
parserOptions: {
|
|
818
|
-
|
|
822
|
+
projectService: true,
|
|
823
|
+
tsconfigRootDir: import.meta.dirname,
|
|
819
824
|
},
|
|
820
825
|
},
|
|
821
826
|
rules: {
|
package/nodeWithBiome.mjs
CHANGED
|
@@ -721,6 +721,10 @@ export default [
|
|
|
721
721
|
"import/prefer-default-export": "off",
|
|
722
722
|
},
|
|
723
723
|
},
|
|
724
|
+
{
|
|
725
|
+
files: ["**/*.ts", "**/*.tsx"],
|
|
726
|
+
...importPlugin.flatConfigs.typescript,
|
|
727
|
+
},
|
|
724
728
|
{
|
|
725
729
|
files: ["**/*.ts", "**/*.tsx"],
|
|
726
730
|
plugins: {
|
|
@@ -730,7 +734,8 @@ export default [
|
|
|
730
734
|
parser: tsParser,
|
|
731
735
|
sourceType: "module",
|
|
732
736
|
parserOptions: {
|
|
733
|
-
|
|
737
|
+
projectService: true,
|
|
738
|
+
tsconfigRootDir: import.meta.dirname,
|
|
734
739
|
},
|
|
735
740
|
},
|
|
736
741
|
rules: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"@typescript-eslint/eslint-plugin": "8.12.2",
|
|
32
32
|
"@typescript-eslint/parser": "8.12.2",
|
|
33
33
|
"eslint": "9.13.0",
|
|
34
|
-
"eslint-import-resolver-typescript": "3.6.3",
|
|
35
34
|
"eslint-plugin-import": "2.31.0",
|
|
36
35
|
"eslint-plugin-jest": "28.8.3",
|
|
37
36
|
"eslint-plugin-react": "7.37.2",
|