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 +0 -1
- package/groupImports.mjs +0 -2
- package/node.mjs +2 -15
- package/nodeWithBiome.mjs +4 -16
- package/package.json +1 -2
- package/reactNative.mjs +0 -1
package/complexity.mjs
CHANGED
package/groupImports.mjs
CHANGED
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
|
-
|
|
829
|
-
|
|
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
|
-
|
|
743
|
-
|
|
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.
|
|
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",
|