eslint-config-heck 4.0.0 → 4.0.2

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
@@ -810,27 +810,14 @@ export default [
810
810
  {
811
811
  files: ["**/*.ts", "**/*.tsx"],
812
812
  plugins: {
813
- "@stylistic": stylistic,
814
- react,
815
- "react-hooks": reactHooks,
816
- unicorn,
817
- import: importPlugin,
818
813
  "@typescript-eslint": typescriptEslint,
819
814
  },
820
815
  languageOptions: {
821
- globals: {
822
- NodeJS: true,
823
- },
824
816
  parser: tsParser,
825
- ecmaVersion: "latest",
826
817
  sourceType: "module",
827
818
  parserOptions: {
828
- ecmaFeatures: {
829
- globalReturn: false,
830
- impliedStrict: false,
831
- jsx: true,
832
- },
833
- project: "tsconfig.json",
819
+ projectService: true,
820
+ tsconfigRootDir: import.meta.dirname,
834
821
  },
835
822
  },
836
823
  rules: {
package/nodeWithBiome.mjs CHANGED
@@ -11,6 +11,7 @@ import testingLibrary from "eslint-plugin-testing-library";
11
11
 
12
12
  // biome-ignore lint/style/noDefaultExport: Required for ESLint
13
13
  export default [
14
+ importPlugin.flatConfigs.typescript,
14
15
  {
15
16
  plugins: {
16
17
  "@stylistic": stylistic,
@@ -724,28 +725,14 @@ export default [
724
725
  {
725
726
  files: ["**/*.ts", "**/*.tsx"],
726
727
  plugins: {
727
- "@stylistic": stylistic,
728
- react,
729
- "react-hooks": reactHooks,
730
- unicorn,
731
- import: importPlugin,
732
728
  "@typescript-eslint": typescriptEslint,
733
729
  },
734
730
  languageOptions: {
735
- globals: {
736
- NodeJS: true,
737
- },
738
731
  parser: tsParser,
739
- ecmaVersion: "latest",
740
732
  sourceType: "module",
741
733
  parserOptions: {
742
- ecmaFeatures: {
743
- globalReturn: false,
744
- impliedStrict: false,
745
- jsx: true,
746
- },
747
-
748
- project: "tsconfig.json",
734
+ projectService: true,
735
+ tsconfigRootDir: import.meta.dirname,
749
736
  },
750
737
  },
751
738
  rules: {
@@ -1116,6 +1103,7 @@ export default [
1116
1103
  jest,
1117
1104
  },
1118
1105
  rules: {
1106
+ // eslint-plugin-jest
1119
1107
  "jest/no-untyped-mock-factory": "error",
1120
1108
  },
1121
1109
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
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",