-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (36 loc) · 1.05 KB
/
.eslintrc
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
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true
},
"extends": ["airbnb-base", "plugin:flowtype/recommended"],
"rules": {
"arrow-parens": ["off"],
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"no-multi-assign": "off",
"import/extensions": "off",
"class-methods-use-this": "off",
"function-paren-newline": ["error", "consistent"],
"no-unused-expressions": "off",
"no-param-reassign": "off",
"flowtype/generic-spacing": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"consistent-return": "off",
"no-console": "off",
"no-restricted-syntax": "off",
"flowtype/no-unused-expressions": "error",
"max-len": ["error", { "code": 80, "ignoreComments": true, "ignoreStrings": true, "ignoreTemplateLiterals": true }]
},
"plugins": [
"flowtype"
],
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
}
}