@simonkberg/eslint-config
A shareable eslint config for my JavaScript projects.
Install:
yarn add --dev @simonkberg/eslint-config
Base config
Extends:
Usage:
{
"eslintConfig": {
"extends": "@simonkberg/eslint-config"
}
}
Flow type config
Extends:
Usage:
{
"eslintConfig": {
"extends": [
"@simonkberg/eslint-config",
"@simonkberg/eslint-config/flowtype"
]
}
}
React config
Extends:
Usage:
{
"eslintConfig": {
"extends": ["@simonkberg/eslint-config", "@simonkberg/eslint-config/react"]
}
}
TypeScript config
Extends:
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/eslint-recommended
- eslint-config-prettier/@typescript-eslint
Usage:
{
"eslintConfig": {
"extends": [
"@simonkberg/eslint-config",
"@simonkberg/eslint-config/typescript"
]
}
}