@debbl/eslint-config 3.1.1 → 3.1.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/dist/index.cjs CHANGED
@@ -1501,7 +1501,13 @@ async function next() {
1501
1501
  },
1502
1502
  rules: {
1503
1503
  ...pluginNext.configs.recommended.rules,
1504
- ...pluginNext.configs["core-web-vitals"].rules
1504
+ ...pluginNext.configs["core-web-vitals"].rules,
1505
+ "react-refresh/only-export-components": [
1506
+ "warn",
1507
+ {
1508
+ allowExportNames: ["metadata"]
1509
+ }
1510
+ ]
1505
1511
  }
1506
1512
  }
1507
1513
  ];
package/dist/index.js CHANGED
@@ -1419,7 +1419,13 @@ async function next() {
1419
1419
  },
1420
1420
  rules: {
1421
1421
  ...pluginNext.configs.recommended.rules,
1422
- ...pluginNext.configs["core-web-vitals"].rules
1422
+ ...pluginNext.configs["core-web-vitals"].rules,
1423
+ "react-refresh/only-export-components": [
1424
+ "warn",
1425
+ {
1426
+ allowExportNames: ["metadata"]
1427
+ }
1428
+ ]
1423
1429
  }
1424
1430
  }
1425
1431
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@debbl/eslint-config",
3
3
  "type": "module",
4
- "version": "3.1.1",
4
+ "version": "3.1.2",
5
5
  "packageManager": "pnpm@8.15.6",
6
6
  "description": "Brendan Dash's ESLint config",
7
7
  "author": "Debbl <me@aiwan.run> (https://github.com/Debbl/)",