-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
54 lines (54 loc) · 1.41 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"extends": "airbnb",
"parser": "babel-eslint",
"globals": {
"fetch": true,
"alert": true
},
rules: {
'react/jsx-filename-extension': ['error', { extensions: ['.js', '.jsx'] }],
'semi': 0,
'curly': 0,
'indent': 0,
'eqeqeq': 0,
'no-undef': 1,
'no-alert': 0,
'no-plusplus': 0,
'arrow-parens': 0,
'comma-dangle': 0,
'no-sequences': 0,
'prefer-const': 0,
'padded-blocks': 0,
'no-unused-vars': 1,
'react/sort-comp': 0,
'react/prop-types': 0,
'no-throw-literal': 1,
'react/jsx-indent': 1,
'import/first': false,
'no-useless-concat': 0,
'no-param-reassign': 1,
'consistent-return': 0,
'no-nested-ternary': 0,
'no-mixed-operators': 0,
'no-confusing-arrow': 0,
'global-require': 'off',
'no-floating-decimal': 0,
'object-curly-newline': 1,
'object-curly-spacing': 1,
'no-use-before-define': 0,
'react/no-unused-state': 1,
'no-unused-expressions': 0,
'array-bracket-spacing': 0,
'function-paren-newline': 0,
'react/jsx-indent-props': 0,
'implicit-arrow-linebreak': 0,
'react/no-array-index-key': 1,
'jsx-a11y/accessible-emoji': 0,
'react/jsx-wrap-multilines': 0,
'import/prefer-default-export': 1,
'react/jsx-first-prop-new-line': 1,
'react/jsx-curly-brace-presence': 0,
'react/prefer-stateless-function': 1,
'react/jsx-closing-bracket-location': 0
},
}