@devbie/style-guide 1.1.0 → 1.1.1

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/README.md CHANGED
@@ -68,6 +68,9 @@ default, only as a deliberate milestone.
68
68
 
69
69
  ## Changelog
70
70
 
71
+ - 1.1.1 — fix: `frontend` uses the flat variant of eslint-plugin-react-hooks
72
+ (`configs.flat["recommended-latest"]`); 1.1.0 shipped the legacy shape and
73
+ failed to load under flat config.
71
74
  - 1.1.0 — entries renamed to `backend` / `frontend` and layered: `core` is
72
75
  internal, `frontend` is framework-independent (React rules only), `next`
73
76
  adds the canonical Next.js rule set. `nest` was replaced by `backend`.
@@ -22,7 +22,7 @@ export default [
22
22
  ...core,
23
23
  react.configs.flat.recommended,
24
24
  react.configs.flat["jsx-runtime"],
25
- reactHooks.configs["recommended-latest"],
25
+ reactHooks.configs.flat["recommended-latest"],
26
26
  jsxA11y.flatConfigs.recommended,
27
27
  prettierConfig,
28
28
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devbie/style-guide",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Single source of truth for devbie ecosystem code style: shared prettier config and eslint flat standards (backend, frontend, next)",
5
5
  "license": "MIT",
6
6
  "author": "worldzhy",