5.0.1 • Published 11 months ago
@redmindab/eslint-config v5.0.1
@redmindab/eslint-config
Redmind's internal TypeScript eslint configuration.
📦 Install package and peer dependencies
npm i -D @redmindab/eslint-config && npx install-peerdeps -D @redmindab/eslint-config
🔧 Create config files
create .eslintrc
in the root of the project with the following content
{
"extends": ["@redmindab/eslint-config"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
You can also choose to extend only specific configurations:
{
"extends": [
"@redmindab/eslint-config/typescript",
"@redmindab/eslint-config/react",
"@redmindab/eslint-config/backend"
],
"parserOptions": {
"project": "./tsconfig.json"
}
}
💅 Stylistic formatting w. Prettier
Create a .prettierrc
in the root of the project with the following content
Update all files in src directory
npx prettier --write src/**/*.{ts,tsx}
npx eslint --fix src/**/*.{ts,tsx}
5.0.1
11 months ago
5.0.0
11 months ago
4.0.0
1 year ago
3.0.0
1 year ago
2.1.0
1 year ago
2.0.0
1 year ago
1.8.2
1 year ago
1.8.1
1 year ago
1.8.0
1 year ago
1.7.0
1 year ago
1.6.4
2 years ago
1.5.5
2 years ago
1.6.3
2 years ago
1.5.4
2 years ago
1.6.2
2 years ago
1.5.3
2 years ago
1.6.1
2 years ago
1.6.0
2 years ago
1.6.5
2 years ago
1.5.2
4 years ago
1.5.1
4 years ago
1.5.0
4 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.0
5 years ago
1.0.0
5 years ago