eslint-config-gbrachetta
v1.10.0
Published
Thorough TSLint configuration for React-based projects based on airbnb and Prettier configs with many additional rules such as autofixable sorting, etc.
Downloads
48
Maintainers
Readme
Eslint config with TypeScript support
Install the package
npm i -D eslint-config-gbrachetta
Add "gbrachetta" to
.eslintrc.json
{ "extends": [ // [other extends] "gbrachetta" ] }
If on VSCode, intall the estension Error Lens to display errors.
If you use VSCode and want to lint and format on save, add the following values to
settings.json
{ "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, "editor.formatOnSave": true, }