@10stars/config 13.0.0 → 13.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/eslint.config.ts +10 -9
- package/package.json +1 -1
- package/tsconfig.base.json +1 -1
package/eslint.config.ts
CHANGED
|
@@ -9,6 +9,7 @@ import simpleImportSort from "eslint-plugin-simple-import-sort"
|
|
|
9
9
|
import sortKeysFix from "eslint-plugin-sort-keys-fix"
|
|
10
10
|
import { fixupPluginRules } from "@eslint/compat"
|
|
11
11
|
import globals from "globals"
|
|
12
|
+
// @ts-expect-error TypeScript requires a different module resolution strategy to import this package
|
|
12
13
|
import tsParser from "@typescript-eslint/parser"
|
|
13
14
|
import path from "node:path"
|
|
14
15
|
import { fileURLToPath } from "node:url"
|
|
@@ -33,7 +34,7 @@ export default [
|
|
|
33
34
|
"plugin:@typescript-eslint/strict-type-checked",
|
|
34
35
|
"plugin:@typescript-eslint/stylistic-type-checked",
|
|
35
36
|
"plugin:react/recommended",
|
|
36
|
-
"plugin:@10stars/react-hooks/recommended",
|
|
37
|
+
// "plugin:@10stars/react-hooks/recommended",
|
|
37
38
|
"plugin:regexp/recommended",
|
|
38
39
|
"prettier",
|
|
39
40
|
) as any),
|
|
@@ -150,14 +151,14 @@ export default [
|
|
|
150
151
|
"react/jsx-no-target-blank": 2,
|
|
151
152
|
"react/jsx-sort-props": 1,
|
|
152
153
|
|
|
153
|
-
"@10stars/react-hooks/exhaustive-deps": [
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
],
|
|
154
|
+
// "@10stars/react-hooks/exhaustive-deps": [
|
|
155
|
+
// 1,
|
|
156
|
+
// {
|
|
157
|
+
// additionalHooks:
|
|
158
|
+
// "(useUpdateEffect|useIsomorphicLayoutEffect|useDeepCompareEffect|useShallowCompareEffect|useCustomCompareEffect)",
|
|
159
|
+
// ignoreThisDependency: "always",
|
|
160
|
+
// },
|
|
161
|
+
// ],
|
|
161
162
|
|
|
162
163
|
"@typescript-eslint/restrict-template-expressions": [
|
|
163
164
|
"error",
|
package/package.json
CHANGED