eslint-config-flitto-typescript
v1.3.0
Published
ESlint configuration for Flitto projects
Downloads
533
Readme
eslint-config-flitto-typescript
Flitto Typescript Style Guide
Get Started
1. Installing packages
npm@>=7
npm install --save-dev eslint-config-flitto-typescript@latest
(npm@<7 is not supported)
2. Create Eslint configuration file
Create .eslintrc.json
file at the top of the project directory like below.
{
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": "flitto-typescript",
"rules": {
}
}
Configuration On WebStorm
- Open
Preferences
( ⌘ + ,) Language & Frameworks
▸javascript Code
▸Quality tools
▸Eslint
- Select
Manual ESLint Configuration
- ESLint package:
/{project_path}/node_modules/eslint
- Configuration file:
/{project_path}/.eslintrc.json
- ESLint package:
- (Optional) check
Run eslint --fix on save
- Click
OK
Rules
Flags
- Configuring Rules
- Disabling Rules
- Sample Files (You can apply eslint to these files)