@aaronlew-suite/config
v0.1.2
Published
Shared tsconfig, ESLint, Prettier and Vite presets for the aaronlew.com suite (ARCHITECTURE §3.1).
Readme
@aaronlew-suite/config
Presets every app extends instead of writing its own (ARCHITECTURE §3.1).
Published on public npm (registry.npmjs.org): installing needs no token or .npmrc entry.
| Import | What |
| -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| @aaronlew-suite/config/tsconfig/react.json | "extends" target for app and package tsconfigs |
| @aaronlew-suite/config/eslint | suiteEslintConfig() — includes the dangerouslySetInnerHTML ban (§2.5) and a ban on tokens in browser storage (§2.2) |
| @aaronlew-suite/config/prettier | The one Prettier config |
| @aaronlew-suite/config/vite | suiteViteConfig() — the /api → :8000 dev proxy (§10.2), React dedupe and optimizeDeps.exclude for linked packages (§10.3) |
ESLint, typescript-eslint, eslint-plugin-react-hooks, @eslint/js, globals and vite are
optional peers: install the ones for the presets you use.
