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
# Install the config in the dev dependencies
$ npm install -D eslint-config-ts-standard-next
Add to your eslint config
file the config extending it like the example below:
{
"extends": [ "ts-standard-next" ]
}
or add it directly in your package.json
// package.json
{
"eslintConfig": {
"extends": [ "ts-standard-next" ]
}
}
Created with Typescript! ⚡ and latin music 🎺🎵