forked from MayGo/tockler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tslintrc.json
32 lines (32 loc) · 987 Bytes
/
.tslintrc.json
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
{
"plugins": ["jest"],
"env": {
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": false
}
},
"extends": "airbnb",
"rules": {
"indent": [2, 4],
"react/jsx-indent": 4,
"react/jsx-indent-props": 4,
"react/forbid-prop-types": false,
"react/require-default-props": false,
"arrow-parens": ["error", "as-needed"],
"import/extensions": ["never"],
"jsx-a11y/click-events-have-key-events": false,
"jsx-a11y/no-static-element-interactions": false,
"jsx-a11y/anchor-is-valid": false,
"function-paren-newline": ["error", "consistent"],
"comma-dangle": ["error", "always-multiline", { "functions": "never" }],
"import/prefer-default-export": false
}
}