@ofk/eslint-config 0.0.7 → 0.0.9
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.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +22 -23
- package/dist/index.mjs +22 -23
- package/package.json +16 -22
package/dist/index.d.mts
CHANGED
|
@@ -42,12 +42,11 @@ declare function defineBaseConfig({ eslintComments: eslintCommentsOptions, ignor
|
|
|
42
42
|
vitest?: false | Parameters<typeof vitest>[0];
|
|
43
43
|
}): _typescript_eslint_utils_ts_eslint.FlatConfig.ConfigArray;
|
|
44
44
|
|
|
45
|
-
declare function defineReactConfig({ jsxA11y: enabledJsxA11y, jsxRuntime: enabledJsxRuntime, reactHooks: enabledReactHooks, reactRefresh: enabledReactRefresh,
|
|
45
|
+
declare function defineReactConfig({ jsxA11y: enabledJsxA11y, jsxRuntime: enabledJsxRuntime, reactHooks: enabledReactHooks, reactRefresh: enabledReactRefresh, ...reactOptions }?: Parameters<typeof react>[0] & {
|
|
46
46
|
jsxA11y?: boolean;
|
|
47
47
|
jsxRuntime?: boolean;
|
|
48
48
|
reactHooks?: boolean;
|
|
49
49
|
reactRefresh?: boolean;
|
|
50
|
-
tailwindcss?: boolean;
|
|
51
50
|
}): _typescript_eslint_utils_ts_eslint.FlatConfig.ConfigArray;
|
|
52
51
|
|
|
53
52
|
declare function defineConfig({ eslintComments: eslintCommentsOptions, imports: importsOptions, js: jsOptions, perfectionist: perfectionistOptions, react: reactOptions, ts: tsOptions, unusedImports: unusedImportsOptions, vitest: vitestOptions, ...config }?: Parameters<typeof defineBaseConfig>[0] & {
|
package/dist/index.d.ts
CHANGED
|
@@ -42,12 +42,11 @@ declare function defineBaseConfig({ eslintComments: eslintCommentsOptions, ignor
|
|
|
42
42
|
vitest?: false | Parameters<typeof vitest>[0];
|
|
43
43
|
}): _typescript_eslint_utils_ts_eslint.FlatConfig.ConfigArray;
|
|
44
44
|
|
|
45
|
-
declare function defineReactConfig({ jsxA11y: enabledJsxA11y, jsxRuntime: enabledJsxRuntime, reactHooks: enabledReactHooks, reactRefresh: enabledReactRefresh,
|
|
45
|
+
declare function defineReactConfig({ jsxA11y: enabledJsxA11y, jsxRuntime: enabledJsxRuntime, reactHooks: enabledReactHooks, reactRefresh: enabledReactRefresh, ...reactOptions }?: Parameters<typeof react>[0] & {
|
|
46
46
|
jsxA11y?: boolean;
|
|
47
47
|
jsxRuntime?: boolean;
|
|
48
48
|
reactHooks?: boolean;
|
|
49
49
|
reactRefresh?: boolean;
|
|
50
|
-
tailwindcss?: boolean;
|
|
51
50
|
}): _typescript_eslint_utils_ts_eslint.FlatConfig.ConfigArray;
|
|
52
51
|
|
|
53
52
|
declare function defineConfig({ eslintComments: eslintCommentsOptions, imports: importsOptions, js: jsOptions, perfectionist: perfectionistOptions, react: reactOptions, ts: tsOptions, unusedImports: unusedImportsOptions, vitest: vitestOptions, ...config }?: Parameters<typeof defineBaseConfig>[0] & {
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
module.exports = __toCommonJS(index_exports);
|
|
36
36
|
|
|
37
37
|
// src/base.ts
|
|
38
|
-
var
|
|
38
|
+
var import_typescript_eslint6 = __toESM(require("typescript-eslint"));
|
|
39
39
|
|
|
40
40
|
// src/configs/eslint-comments.ts
|
|
41
41
|
var import_configs = __toESM(require("@eslint-community/eslint-plugin-eslint-comments/configs"));
|
|
@@ -82,7 +82,8 @@ var importsStrict = mergeRules(
|
|
|
82
82
|
"spec/**",
|
|
83
83
|
"**/__tests__/**",
|
|
84
84
|
"**/__mocks__/**",
|
|
85
|
-
"**/*
|
|
85
|
+
"**/*_{test,spec}.*",
|
|
86
|
+
"**/*.{test,spec,stories}.*",
|
|
86
87
|
"test.*",
|
|
87
88
|
"test-*.*",
|
|
88
89
|
"*.{config,setup,conf}.{js,ts,mjs,mts,cjs,cts}",
|
|
@@ -125,7 +126,8 @@ var importsStrict = mergeRules(
|
|
|
125
126
|
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
|
|
126
127
|
"import/dynamic-import-chunkname": "off",
|
|
127
128
|
// don't use webpack
|
|
128
|
-
"import/exports-last": "
|
|
129
|
+
"import/exports-last": "off",
|
|
130
|
+
// discarded
|
|
129
131
|
"import/extensions": [
|
|
130
132
|
"error",
|
|
131
133
|
"ignorePackages",
|
|
@@ -184,6 +186,8 @@ function imports({
|
|
|
184
186
|
"*.{config,setup,conf}.{js,ts,mjs,mts,cjs,cts}",
|
|
185
187
|
"*.{config,setup,conf}.*.{js,ts,mjs,mts,cjs,cts}",
|
|
186
188
|
".*rc.{js,ts,mjs,mts,cjs,cts}",
|
|
189
|
+
".storybook/**/*",
|
|
190
|
+
"**/*.stories.*",
|
|
187
191
|
...defaultExportFiles || []
|
|
188
192
|
],
|
|
189
193
|
rules: {
|
|
@@ -745,13 +749,8 @@ var reactHooksStrict = mergeRules(
|
|
|
745
749
|
var import_eslint_plugin_react_refresh = __toESM(require("eslint-plugin-react-refresh"));
|
|
746
750
|
var reactRefreshStrict = mergeRules(import_eslint_plugin_react_refresh.default.configs.recommended);
|
|
747
751
|
|
|
748
|
-
// src/configs/tailwindcss.ts
|
|
749
|
-
var import_eslint_plugin_tailwindcss = __toESM(require("eslint-plugin-tailwindcss"));
|
|
750
|
-
var import_typescript_eslint4 = __toESM(require("typescript-eslint"));
|
|
751
|
-
var tailwindcssStrict = import_typescript_eslint4.default.config(import_eslint_plugin_tailwindcss.default.configs["flat/recommended"]);
|
|
752
|
-
|
|
753
752
|
// src/configs/ts.ts
|
|
754
|
-
var
|
|
753
|
+
var import_typescript_eslint4 = __toESM(require("typescript-eslint"));
|
|
755
754
|
var jsStrictRules = jsStrict.rules ?? {};
|
|
756
755
|
var tsEslintOverrideRules = mergeRules(
|
|
757
756
|
{},
|
|
@@ -831,14 +830,14 @@ var tsRecommendedOverride = mergeRules(
|
|
|
831
830
|
// confilict with @typescript-eslint/consistent-type-imports
|
|
832
831
|
}
|
|
833
832
|
);
|
|
834
|
-
var tsRecommended =
|
|
835
|
-
|
|
833
|
+
var tsRecommended = import_typescript_eslint4.default.config(
|
|
834
|
+
import_typescript_eslint4.default.configs.recommended,
|
|
836
835
|
tsEslintOverrideRules,
|
|
837
836
|
tsRecommendedOverride
|
|
838
837
|
);
|
|
839
|
-
var tsStrict =
|
|
840
|
-
|
|
841
|
-
|
|
838
|
+
var tsStrict = import_typescript_eslint4.default.config(
|
|
839
|
+
import_typescript_eslint4.default.configs.strictTypeChecked,
|
|
840
|
+
import_typescript_eslint4.default.configs.stylisticTypeChecked,
|
|
842
841
|
tsEslintOverrideRules,
|
|
843
842
|
tsRecommendedOverride,
|
|
844
843
|
{
|
|
@@ -895,7 +894,7 @@ function ts({
|
|
|
895
894
|
strict = true,
|
|
896
895
|
...config
|
|
897
896
|
}) {
|
|
898
|
-
return
|
|
897
|
+
return import_typescript_eslint4.default.config(
|
|
899
898
|
parserOptions ? {
|
|
900
899
|
languageOptions: {
|
|
901
900
|
parserOptions: {
|
|
@@ -907,7 +906,7 @@ function ts({
|
|
|
907
906
|
strict ? tsStrict : tsRecommended,
|
|
908
907
|
config,
|
|
909
908
|
disableTypeChecked ? {
|
|
910
|
-
extends: [
|
|
909
|
+
extends: [import_typescript_eslint4.default.configs.disableTypeChecked],
|
|
911
910
|
files: ["**/*.{js,jsx,mjs,cjs}"]
|
|
912
911
|
} : {}
|
|
913
912
|
);
|
|
@@ -930,7 +929,7 @@ var unusedImportsStrict = mergeRules({
|
|
|
930
929
|
|
|
931
930
|
// src/configs/vitest.ts
|
|
932
931
|
var import_eslint_plugin = __toESM(require("@vitest/eslint-plugin"));
|
|
933
|
-
var
|
|
932
|
+
var import_typescript_eslint5 = __toESM(require("typescript-eslint"));
|
|
934
933
|
var vitestStrict = mergeRules(import_eslint_plugin.default.configs.recommended, {
|
|
935
934
|
"vitest/consistent-test-filename": "off",
|
|
936
935
|
"vitest/consistent-test-it": "error",
|
|
@@ -974,6 +973,7 @@ var vitestStrict = mergeRules(import_eslint_plugin.default.configs.recommended,
|
|
|
974
973
|
"vitest/prefer-mock-promise-shorthand": "error",
|
|
975
974
|
"vitest/prefer-snapshot-hint": "error",
|
|
976
975
|
"vitest/prefer-spy-on": "error",
|
|
976
|
+
"vitest/prefer-strict-boolean-matchers": "error",
|
|
977
977
|
"vitest/prefer-strict-equal": "error",
|
|
978
978
|
"vitest/prefer-to-be": "error",
|
|
979
979
|
"vitest/prefer-to-be-falsy": "error",
|
|
@@ -984,12 +984,13 @@ var vitestStrict = mergeRules(import_eslint_plugin.default.configs.recommended,
|
|
|
984
984
|
"vitest/prefer-todo": "error",
|
|
985
985
|
"vitest/prefer-vi-mocked": "error",
|
|
986
986
|
"vitest/require-hook": "error",
|
|
987
|
+
"vitest/require-mock-type-parameters": "off",
|
|
987
988
|
"vitest/require-to-throw-message": "error",
|
|
988
989
|
"vitest/require-top-level-describe": "error",
|
|
989
990
|
"vitest/valid-expect-in-promise": "error"
|
|
990
991
|
});
|
|
991
992
|
function vitest(config) {
|
|
992
|
-
return
|
|
993
|
+
return import_typescript_eslint5.default.config({
|
|
993
994
|
extends: [vitestStrict, config],
|
|
994
995
|
files: ["tests/**", "*.test.*"]
|
|
995
996
|
});
|
|
@@ -1087,7 +1088,7 @@ function defineBaseConfig({
|
|
|
1087
1088
|
vitest: vitestOptions = {},
|
|
1088
1089
|
...config
|
|
1089
1090
|
} = {}) {
|
|
1090
|
-
return
|
|
1091
|
+
return import_typescript_eslint6.default.config(
|
|
1091
1092
|
settings ? { settings } : {},
|
|
1092
1093
|
ignores ? { ignores } : {},
|
|
1093
1094
|
jsOptions ? js(jsOptions) : {},
|
|
@@ -1104,16 +1105,15 @@ function defineBaseConfig({
|
|
|
1104
1105
|
|
|
1105
1106
|
// src/react.ts
|
|
1106
1107
|
var import_eslint_plugin_react2 = __toESM(require("eslint-plugin-react"));
|
|
1107
|
-
var
|
|
1108
|
+
var import_typescript_eslint7 = __toESM(require("typescript-eslint"));
|
|
1108
1109
|
function defineReactConfig({
|
|
1109
1110
|
jsxA11y: enabledJsxA11y = true,
|
|
1110
1111
|
jsxRuntime: enabledJsxRuntime = true,
|
|
1111
1112
|
reactHooks: enabledReactHooks = true,
|
|
1112
1113
|
reactRefresh: enabledReactRefresh = true,
|
|
1113
|
-
tailwindcss: enabledTailwindcss = true,
|
|
1114
1114
|
...reactOptions
|
|
1115
1115
|
} = {}) {
|
|
1116
|
-
return
|
|
1116
|
+
return import_typescript_eslint7.default.config(
|
|
1117
1117
|
react({
|
|
1118
1118
|
...reactOptions,
|
|
1119
1119
|
extends: [
|
|
@@ -1121,7 +1121,6 @@ function defineReactConfig({
|
|
|
1121
1121
|
enabledReactHooks ? reactHooksStrict : {},
|
|
1122
1122
|
enabledReactRefresh ? reactRefreshStrict : {},
|
|
1123
1123
|
enabledJsxA11y ? jsxA11yStrict : {},
|
|
1124
|
-
enabledTailwindcss ? tailwindcssStrict : {},
|
|
1125
1124
|
...reactOptions.extends ?? []
|
|
1126
1125
|
]
|
|
1127
1126
|
})
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/base.ts
|
|
2
|
-
import
|
|
2
|
+
import pluginTs6 from "typescript-eslint";
|
|
3
3
|
|
|
4
4
|
// src/configs/eslint-comments.ts
|
|
5
5
|
import pluginEslintComments from "@eslint-community/eslint-plugin-eslint-comments/configs";
|
|
@@ -46,7 +46,8 @@ var importsStrict = mergeRules(
|
|
|
46
46
|
"spec/**",
|
|
47
47
|
"**/__tests__/**",
|
|
48
48
|
"**/__mocks__/**",
|
|
49
|
-
"**/*
|
|
49
|
+
"**/*_{test,spec}.*",
|
|
50
|
+
"**/*.{test,spec,stories}.*",
|
|
50
51
|
"test.*",
|
|
51
52
|
"test-*.*",
|
|
52
53
|
"*.{config,setup,conf}.{js,ts,mjs,mts,cjs,cts}",
|
|
@@ -89,7 +90,8 @@ var importsStrict = mergeRules(
|
|
|
89
90
|
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
|
|
90
91
|
"import/dynamic-import-chunkname": "off",
|
|
91
92
|
// don't use webpack
|
|
92
|
-
"import/exports-last": "
|
|
93
|
+
"import/exports-last": "off",
|
|
94
|
+
// discarded
|
|
93
95
|
"import/extensions": [
|
|
94
96
|
"error",
|
|
95
97
|
"ignorePackages",
|
|
@@ -148,6 +150,8 @@ function imports({
|
|
|
148
150
|
"*.{config,setup,conf}.{js,ts,mjs,mts,cjs,cts}",
|
|
149
151
|
"*.{config,setup,conf}.*.{js,ts,mjs,mts,cjs,cts}",
|
|
150
152
|
".*rc.{js,ts,mjs,mts,cjs,cts}",
|
|
153
|
+
".storybook/**/*",
|
|
154
|
+
"**/*.stories.*",
|
|
151
155
|
...defaultExportFiles || []
|
|
152
156
|
],
|
|
153
157
|
rules: {
|
|
@@ -709,13 +713,8 @@ var reactHooksStrict = mergeRules(
|
|
|
709
713
|
import pluginReactRefresh from "eslint-plugin-react-refresh";
|
|
710
714
|
var reactRefreshStrict = mergeRules(pluginReactRefresh.configs.recommended);
|
|
711
715
|
|
|
712
|
-
// src/configs/tailwindcss.ts
|
|
713
|
-
import pluginTailwindcss from "eslint-plugin-tailwindcss";
|
|
714
|
-
import pluginTs4 from "typescript-eslint";
|
|
715
|
-
var tailwindcssStrict = pluginTs4.config(pluginTailwindcss.configs["flat/recommended"]);
|
|
716
|
-
|
|
717
716
|
// src/configs/ts.ts
|
|
718
|
-
import
|
|
717
|
+
import pluginTs4 from "typescript-eslint";
|
|
719
718
|
var jsStrictRules = jsStrict.rules ?? {};
|
|
720
719
|
var tsEslintOverrideRules = mergeRules(
|
|
721
720
|
{},
|
|
@@ -795,14 +794,14 @@ var tsRecommendedOverride = mergeRules(
|
|
|
795
794
|
// confilict with @typescript-eslint/consistent-type-imports
|
|
796
795
|
}
|
|
797
796
|
);
|
|
798
|
-
var tsRecommended =
|
|
799
|
-
|
|
797
|
+
var tsRecommended = pluginTs4.config(
|
|
798
|
+
pluginTs4.configs.recommended,
|
|
800
799
|
tsEslintOverrideRules,
|
|
801
800
|
tsRecommendedOverride
|
|
802
801
|
);
|
|
803
|
-
var tsStrict =
|
|
804
|
-
|
|
805
|
-
|
|
802
|
+
var tsStrict = pluginTs4.config(
|
|
803
|
+
pluginTs4.configs.strictTypeChecked,
|
|
804
|
+
pluginTs4.configs.stylisticTypeChecked,
|
|
806
805
|
tsEslintOverrideRules,
|
|
807
806
|
tsRecommendedOverride,
|
|
808
807
|
{
|
|
@@ -859,7 +858,7 @@ function ts({
|
|
|
859
858
|
strict = true,
|
|
860
859
|
...config
|
|
861
860
|
}) {
|
|
862
|
-
return
|
|
861
|
+
return pluginTs4.config(
|
|
863
862
|
parserOptions ? {
|
|
864
863
|
languageOptions: {
|
|
865
864
|
parserOptions: {
|
|
@@ -871,7 +870,7 @@ function ts({
|
|
|
871
870
|
strict ? tsStrict : tsRecommended,
|
|
872
871
|
config,
|
|
873
872
|
disableTypeChecked ? {
|
|
874
|
-
extends: [
|
|
873
|
+
extends: [pluginTs4.configs.disableTypeChecked],
|
|
875
874
|
files: ["**/*.{js,jsx,mjs,cjs}"]
|
|
876
875
|
} : {}
|
|
877
876
|
);
|
|
@@ -894,7 +893,7 @@ var unusedImportsStrict = mergeRules({
|
|
|
894
893
|
|
|
895
894
|
// src/configs/vitest.ts
|
|
896
895
|
import pluginVitest from "@vitest/eslint-plugin";
|
|
897
|
-
import
|
|
896
|
+
import pluginTs5 from "typescript-eslint";
|
|
898
897
|
var vitestStrict = mergeRules(pluginVitest.configs.recommended, {
|
|
899
898
|
"vitest/consistent-test-filename": "off",
|
|
900
899
|
"vitest/consistent-test-it": "error",
|
|
@@ -938,6 +937,7 @@ var vitestStrict = mergeRules(pluginVitest.configs.recommended, {
|
|
|
938
937
|
"vitest/prefer-mock-promise-shorthand": "error",
|
|
939
938
|
"vitest/prefer-snapshot-hint": "error",
|
|
940
939
|
"vitest/prefer-spy-on": "error",
|
|
940
|
+
"vitest/prefer-strict-boolean-matchers": "error",
|
|
941
941
|
"vitest/prefer-strict-equal": "error",
|
|
942
942
|
"vitest/prefer-to-be": "error",
|
|
943
943
|
"vitest/prefer-to-be-falsy": "error",
|
|
@@ -948,12 +948,13 @@ var vitestStrict = mergeRules(pluginVitest.configs.recommended, {
|
|
|
948
948
|
"vitest/prefer-todo": "error",
|
|
949
949
|
"vitest/prefer-vi-mocked": "error",
|
|
950
950
|
"vitest/require-hook": "error",
|
|
951
|
+
"vitest/require-mock-type-parameters": "off",
|
|
951
952
|
"vitest/require-to-throw-message": "error",
|
|
952
953
|
"vitest/require-top-level-describe": "error",
|
|
953
954
|
"vitest/valid-expect-in-promise": "error"
|
|
954
955
|
});
|
|
955
956
|
function vitest(config) {
|
|
956
|
-
return
|
|
957
|
+
return pluginTs5.config({
|
|
957
958
|
extends: [vitestStrict, config],
|
|
958
959
|
files: ["tests/**", "*.test.*"]
|
|
959
960
|
});
|
|
@@ -1051,7 +1052,7 @@ function defineBaseConfig({
|
|
|
1051
1052
|
vitest: vitestOptions = {},
|
|
1052
1053
|
...config
|
|
1053
1054
|
} = {}) {
|
|
1054
|
-
return
|
|
1055
|
+
return pluginTs6.config(
|
|
1055
1056
|
settings ? { settings } : {},
|
|
1056
1057
|
ignores ? { ignores } : {},
|
|
1057
1058
|
jsOptions ? js(jsOptions) : {},
|
|
@@ -1068,16 +1069,15 @@ function defineBaseConfig({
|
|
|
1068
1069
|
|
|
1069
1070
|
// src/react.ts
|
|
1070
1071
|
import pluginReact2 from "eslint-plugin-react";
|
|
1071
|
-
import
|
|
1072
|
+
import pluginTs7 from "typescript-eslint";
|
|
1072
1073
|
function defineReactConfig({
|
|
1073
1074
|
jsxA11y: enabledJsxA11y = true,
|
|
1074
1075
|
jsxRuntime: enabledJsxRuntime = true,
|
|
1075
1076
|
reactHooks: enabledReactHooks = true,
|
|
1076
1077
|
reactRefresh: enabledReactRefresh = true,
|
|
1077
|
-
tailwindcss: enabledTailwindcss = true,
|
|
1078
1078
|
...reactOptions
|
|
1079
1079
|
} = {}) {
|
|
1080
|
-
return
|
|
1080
|
+
return pluginTs7.config(
|
|
1081
1081
|
react({
|
|
1082
1082
|
...reactOptions,
|
|
1083
1083
|
extends: [
|
|
@@ -1085,7 +1085,6 @@ function defineReactConfig({
|
|
|
1085
1085
|
enabledReactHooks ? reactHooksStrict : {},
|
|
1086
1086
|
enabledReactRefresh ? reactRefreshStrict : {},
|
|
1087
1087
|
enabledJsxA11y ? jsxA11yStrict : {},
|
|
1088
|
-
enabledTailwindcss ? tailwindcssStrict : {},
|
|
1089
1088
|
...reactOptions.extends ?? []
|
|
1090
1089
|
]
|
|
1091
1090
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ofk/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ofk (https://github.com/ofk/)",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"eslint-plugin-react": "^7.35.0",
|
|
42
42
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
43
43
|
"eslint-plugin-react-refresh": "^0.4.16",
|
|
44
|
-
"eslint-plugin-tailwindcss": "^3.16.0",
|
|
45
44
|
"eslint-plugin-unicorn": "^56.0.0",
|
|
46
45
|
"eslint-plugin-unused-imports": "^4.1.1",
|
|
47
46
|
"globals": ">=14.0.0",
|
|
@@ -78,9 +77,6 @@
|
|
|
78
77
|
"eslint-plugin-react-refresh": {
|
|
79
78
|
"optional": true
|
|
80
79
|
},
|
|
81
|
-
"eslint-plugin-tailwindcss": {
|
|
82
|
-
"optional": true
|
|
83
|
-
},
|
|
84
80
|
"eslint-plugin-unicorn": {
|
|
85
81
|
"optional": true
|
|
86
82
|
},
|
|
@@ -99,35 +95,33 @@
|
|
|
99
95
|
},
|
|
100
96
|
"devDependencies": {
|
|
101
97
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
102
|
-
"@eslint/js": "^9.
|
|
98
|
+
"@eslint/js": "^9.22.0",
|
|
103
99
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
104
100
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
105
101
|
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
|
|
106
|
-
"@
|
|
107
|
-
"@vitest/eslint-plugin": "^1.1.25",
|
|
102
|
+
"@vitest/eslint-plugin": "^1.1.37",
|
|
108
103
|
"confusing-browser-globals": "^1.0.11",
|
|
109
|
-
"eslint": "^9.
|
|
110
|
-
"eslint-config-prettier": "^10.
|
|
104
|
+
"eslint": "^9.22.0",
|
|
105
|
+
"eslint-config-prettier": "^10.1.1",
|
|
111
106
|
"eslint-plugin-import": "^2.31.0",
|
|
112
107
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
113
|
-
"eslint-plugin-perfectionist": "^4.
|
|
108
|
+
"eslint-plugin-perfectionist": "^4.10.1",
|
|
114
109
|
"eslint-plugin-react": "^7.37.4",
|
|
115
|
-
"eslint-plugin-react-hooks": "^5.
|
|
116
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
117
|
-
"eslint-plugin-
|
|
118
|
-
"eslint-plugin-unicorn": "^56.0.1",
|
|
110
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
111
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
112
|
+
"eslint-plugin-unicorn": "^57.0.0",
|
|
119
113
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
120
|
-
"globals": "^
|
|
114
|
+
"globals": "^16.0.0",
|
|
121
115
|
"husky": "^9.1.7",
|
|
122
116
|
"jiti": "^2.4.2",
|
|
123
|
-
"lint-staged": "^15.
|
|
117
|
+
"lint-staged": "^15.5.0",
|
|
124
118
|
"npm-run-all": "^4.1.5",
|
|
125
|
-
"prettier": "^3.
|
|
119
|
+
"prettier": "^3.5.3",
|
|
126
120
|
"prettier-package-json": "^2.8.0",
|
|
127
|
-
"tsup": "^8.
|
|
128
|
-
"typescript": "^5.
|
|
129
|
-
"typescript-eslint": "^8.
|
|
130
|
-
"vitest": "^3.0.
|
|
121
|
+
"tsup": "^8.4.0",
|
|
122
|
+
"typescript": "^5.8.2",
|
|
123
|
+
"typescript-eslint": "^8.26.1",
|
|
124
|
+
"vitest": "^3.0.8"
|
|
131
125
|
},
|
|
132
126
|
"keywords": [],
|
|
133
127
|
"lint-staged": {
|