eslint-config-ts-standard-next
v1.0.1
Published
Chempo's ESLint Config for NextJS with TypeScript projects with best practices
Downloads
627
Maintainers
Readme
eslint-config-ts-standard-next
🔖 Description
Eslint config with standard-typescript (+other plugins) and extra opinionated configs applying best practices and focused on declarative code
📖 Summary
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
📦 Installation
# Install the config in the dev dependencies
$ npm install -D eslint-config-ts-standard-next
🚀 Usage
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" ]
}
}
🤓 Happy Code
Created with Typescript! ⚡ and latin music 🎺🎵