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 CHANGED
@@ -18,7 +18,6 @@ export default [
18
18
  "**/*.test.js",
19
19
  "**/*.test.jsx",
20
20
  ],
21
-
22
21
  rules: {
23
22
  "max-statements": "off",
24
23
  "max-params": "off",
package/groupImports.mjs CHANGED
@@ -9,7 +9,6 @@ export default [
9
9
  ignoreDeclarationSort: true,
10
10
  },
11
11
  ],
12
-
13
12
  "import/order": [
14
13
  "error",
15
14
  {
@@ -23,7 +22,6 @@ export default [
23
22
  "index",
24
23
  "object",
25
24
  ],
26
-
27
25
  alphabetize: {
28
26
  order: "asc",
29
27
  caseInsensitive: true,
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
- project: "tsconfig.json",
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
- project: "tsconfig.json",
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.1",
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",
package/reactNative.mjs CHANGED
@@ -7,7 +7,6 @@ export default [
7
7
  plugins: {
8
8
  "react-native": fixupPluginRules(reactNative),
9
9
  },
10
-
11
10
  rules: {
12
11
  "react-native/no-color-literals": "error",
13
12
  "react-native/no-inline-styles": "error",