@thepalaceproject/circulation-admin 1.46.0-post.2 → 1.46.0-post.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/CLAUDE.md CHANGED
@@ -91,7 +91,7 @@ Helpers in `tests/jest/testUtils/`:
91
91
 
92
92
  ## Code Style
93
93
 
94
- - Prettier: double quotes, semicolons, trailing commas (es5), 80 char width
94
+ - Prettier (double quotes, semicolons, trailing commas (es5), printWidth 80) and ESLint are authoritative for formatting and style. The husky pre-commit hook auto-formats staged files with Prettier, and CI runs ESLint (`npm run lint:js`), so do not flag or hand-verify formatting. printWidth is a soft target, not a hard limit; lines Prettier leaves longer than 80 (e.g., interface `extends` clauses) are fine, and there is no ESLint max-len rule.
95
95
  - ESLint (flat config, `eslint.config.mjs`) with `jsx-a11y/strict` — runs on the whole tree in CI via `npm run lint:js` (`eslint . --max-warnings 0`, so warnings fail the build) and on staged files via the husky pre-commit hook. `npm run lint` runs ESLint (`lint:js`) followed by sass-lint.
96
96
  - `@typescript-eslint/no-explicit-any` is disabled (any is allowed)
97
97
  - Prefer template literals over string concatenation for building strings with variables