JORVEL

Shared configs

The presets `jorvel init` wires up. Extend them directly in your own workspace.

@jorvel/eslint-config

ESLint 9 flat config. TS rules apply only to *.ts,tsx; plain JS gets a leaner set.

eslint.config.mjs
js
import jorvel from '@jorvel/eslint-config';

export default [
  ...jorvel,
  { ignores: ['**/dist/**', '**/.turbo/**', '**/coverage/**'] },
];

@jorvel/prettier-config

package.json
json
{ "prettier": "@jorvel/prettier-config" }

@jorvel/tsconfig

Strict presets (base + React DOM). The workspace tsconfig.base.json enables strict, noUncheckedIndexedAccess, exactOptionalPropertyTypes.

tsconfig.json
json
{
  "extends": "@jorvel/tsconfig/react.json",
  "compilerOptions": { "outDir": "dist" },
  "include": ["src"]
}