-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
80 lines (80 loc) · 2.08 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"plugin:jsx-a11y/recommended",
"plugin:react-native/all",
"plugin:react/recommended",
"prettier"
],
"plugins": [
"flowtype",
"jsx-a11y",
"prettier",
"react-native",
"react",
"sorting"
],
"rules": {
"camelcase": 0,
"class-methods-use-this": 0,
"flowtype/generic-spacing": 0,
"import/first": 0,
"import/prefer-default-export": 0,
"no-return-assign": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "ignoreRestSiblings": true }],
"no-use-before-define": 0,
"react-native/no-color-literals": 0,
"react-native/no-inline-styles": 0,
"react-native/no-raw-text": 0,
"react/default-props-match-prop-types": 0,
"react/display-name": 0,
"react/jsx-filename-extension": 0,
"react/no-multi-comp": 0,
"react/no-unescaped-entities": 0,
"react/no-unused-prop-types": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"react/require-default-props": 0,
"react/sort-comp": 0,
"sorting/sort-object-props": [
2,
{
"ignoreCase": false,
"ignoreMethods": false
}
]
}
}