Eslint config with standard-typescript (+other plugins) and extra opinionated configs applying best practices and focused on declarative code
Linting and best practices rules for:
- JavaScript and JSX
- TypeScript and TSX
- TSDoc
- React and react hooks
- NextJS
- Accessibility (JSX a11y)
- Package.json convention
- JSON files
- YAML
- Markdown
The final package published is the eslint-config-ts-standard-next but in this monorepo you can find the dependencies separated in the following packages:
- eslint-config-base:
- standard config
- json plugin for *.json, *.jsonc and *.json5
- yml plugin for *.yml and *.yaml
- package.json formatter + keys sorter
- markdown plugin *.md
- Additional opinionated rules like array formatting, import order and format, es6 conventions,...
- eslint-config-typescript:
- eslint-config-base
- standard-with-typescript config
- typescript-eslint/recommended config
- TSDoc plugin to keep comments as the convention says
- several additional opinionated rules like naming convention, enforce "import type" for types, ...
- eslint-config-next:
- eslint-config-typescript which has all the bullets mentioned before
- eslint-config-next for next related rules + react + react-hooks + jsx a11y for accessibility
- Switch on some react rules to enforce consistency
Created with Typescript! ⚡ and latin music 🎺🎵