-
Notifications
You must be signed in to change notification settings - Fork 43
/
.eslintrc.yml
53 lines (53 loc) · 1.28 KB
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
env:
browser: true
node: true
es6: true
jest: true
root: true
extends:
- airbnb
- eslint:recommended
- plugin:@typescript-eslint/recommended
- prettier
parser: '@typescript-eslint/parser'
parserOptions:
ecmaFeatures:
experimentalObjectRestSpread: true
jsx: true
sourceType: module
plugins:
- '@typescript-eslint'
globals:
GIT_INFO: false
rules:
'@typescript-eslint/no-unused-vars': [error, {argsIgnorePattern: "^_"}]
arrow-parens: [error, always]
arrow-spacing: error
comma-spacing: error
comma-style: error
eol-last: error
import/extensions: off
import/no-extraneous-dependencies: off
import/no-named-as-default-member: off
import/no-unresolved: off
import/no-webpack-loader-syntax: off
import/prefer-default-export: off
indent: [error, 2, {SwitchCase: 1}]
keyword-spacing: error
linebreak-style: [error, unix]
lines-between-class-members: off
no-console: error
no-constant-condition: off
no-param-reassign: [error, {props: false}]
no-plusplus: off
no-tabs: error
no-trailing-spaces: error
no-underscore-dangle: off
no-var: error
prefer-const: error
quotes: [error, double, {avoidEscape: true}]
rest-spread-spacing: error
semi-spacing: error
semi: [error, always]
space-before-blocks: error
space-infix-ops: error