code-quality-and-lint.mdc 445 B

1234567891011
  1. ---
  2. description: ESLint/Prettier/Stylelint/TS strictness; attach broadly to source and configs.
  3. globs: [".eslintrc.*", ".prettierrc*", ".stylelintrc*", "**/*.ts", "**/*.tsx", "**/*.scss"]
  4. alwaysApply: false
  5. ---
  6. # Code Quality
  7. - Run `npm run lint`, `style-lint`, `prettier` before committing.
  8. - Do not disable rules without justification in-code.
  9. - Prefer `readonly`, narrow `unknown`, avoid `any`.
  10. - Keep imports ordered; avoid unused exports.