@simtechdev/eslint-config-typescript
v1.5.4
Published
`Simple es-lint plugin used for projects based on react and typescript`
Downloads
143
Keywords
Readme
Package info
eslint-config-typescript
is a simple es-lint plugin used for projects based on react and typescript
Getting started
Install package:
npm i -D @simtechdev/eslint-config-typescript
or
yarn add -D @simtechdev/eslint-config-typescript
Usage
1. Add plugin to ES-Lint configuration
Add plugin name simtechdev
to "extends" section of ES-Lint configuration:
- Example configuration in
.eslintrc
file:
{
"extends": ["@simtechdev/typescript"]
}
- Example configuration in
package.json
:
"eslintConfig": {
"extends": [
"@simtechdev/typescript"
]
}
2. Configure your IDE to applying plugin rules on save
Example of vs-code configuration file settings.json
:
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}