@debbl/eslint-config 3.2.1 → 3.2.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/dist/index.cjs +11 -1
- package/dist/index.js +11 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1570,7 +1570,17 @@ var react = async (options) => {
|
|
|
1570
1570
|
...pluginReact.configs.recommended.rules,
|
|
1571
1571
|
...pluginReactHooks.configs.recommended.rules,
|
|
1572
1572
|
// React Refresh
|
|
1573
|
-
"react-refresh/only-export-components":
|
|
1573
|
+
"react-refresh/only-export-components": [
|
|
1574
|
+
"warn",
|
|
1575
|
+
{
|
|
1576
|
+
allowExportNames: [
|
|
1577
|
+
// remix
|
|
1578
|
+
...["meta", "links", "headers", "loader", "action"],
|
|
1579
|
+
// nextjs
|
|
1580
|
+
...["generateMetadata", "generateStaticParams"]
|
|
1581
|
+
]
|
|
1582
|
+
}
|
|
1583
|
+
],
|
|
1574
1584
|
// React Compiler
|
|
1575
1585
|
...enableCompiler ? {
|
|
1576
1586
|
"react-compiler/react-compiler": "error"
|
package/dist/index.js
CHANGED
|
@@ -1488,7 +1488,17 @@ var react = async (options) => {
|
|
|
1488
1488
|
...pluginReact.configs.recommended.rules,
|
|
1489
1489
|
...pluginReactHooks.configs.recommended.rules,
|
|
1490
1490
|
// React Refresh
|
|
1491
|
-
"react-refresh/only-export-components":
|
|
1491
|
+
"react-refresh/only-export-components": [
|
|
1492
|
+
"warn",
|
|
1493
|
+
{
|
|
1494
|
+
allowExportNames: [
|
|
1495
|
+
// remix
|
|
1496
|
+
...["meta", "links", "headers", "loader", "action"],
|
|
1497
|
+
// nextjs
|
|
1498
|
+
...["generateMetadata", "generateStaticParams"]
|
|
1499
|
+
]
|
|
1500
|
+
}
|
|
1501
|
+
],
|
|
1492
1502
|
// React Compiler
|
|
1493
1503
|
...enableCompiler ? {
|
|
1494
1504
|
"react-compiler/react-compiler": "error"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@debbl/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.3",
|
|
5
5
|
"description": "Brendan Dash's ESLint config",
|
|
6
6
|
"author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -86,6 +86,6 @@
|
|
|
86
86
|
"typecheck": "tsc --noEmit",
|
|
87
87
|
"lint": "pnpm run stub && eslint .",
|
|
88
88
|
"lint:fix": "pnpm run stub && eslint . --fix",
|
|
89
|
-
"release": "bumpp && pnpm publish"
|
|
89
|
+
"release": "pnpm build && bumpp && pnpm publish"
|
|
90
90
|
}
|
|
91
91
|
}
|