- Slightly opinionated ESLint config that should be a good start for any project.
- Contains universal rules that are not framework or FE/BE specific.
- Supports TypeScript and Prettier.
- JavaScript
- TypeScript
- Formatting
Check the full list of rules in index.js
npm install --save-dev eslint-config-start
Add this to your .eslintrc
file:
{
"extends": [
"start"
],
// In case you are using TypeScript, also add link to the tsconfig in the overrides
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
]
}