Skip to content

v1.0.0

Choose a tag to compare

@stevensacks stevensacks released this 27 Apr 13:16
· 88 commits to main since this release

First public release.

@gaia-react/lint is GAIA's opinionated lint configuration, extracted from the GAIA template into a standalone package so multiple repos can share a single upgrade path for ~21 ESLint plugins.

Exports

  • base — JS, TypeScript, import-x, eslint-comments, prefer-arrow-functions, lodash/underscore guard
  • react — react, react-hooks, jsx-a11y, GAIA React conventions
  • styleHygiene — canonical, perfectionist, unicorn, unused-imports, check-file
  • guardrails — no-enum (custom), no-switch (custom), no-relative-import-paths, sonarjs
  • testing / storybook / playwright — scoped to the matching file globs
  • prettier — eslint-config-prettier (must be last)
  • betterTailwind({entryPoint, ignore?}) — factory
  • ignores({gitignore?, extra?}) — factory

Install

```sh
pnpm add -D @gaia-react/lint eslint prettier typescript
```

See the README for the full consumer config and override patterns.