forked from murillo94/cine-the-guide-movie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 1.07 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
{
"parser": "babel-eslint",
"plugins": ["react", "react-native", "jsx-a11y"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"airbnb",
"prettier",
"plugin:jest/recommended"
],
"rules": {
"react/display-name": 0,
"react/prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-indent-props": ["error", 2],
"react/jsx-indent": ["error", 2],
"react/destructuring-assignment": 0,
"react-native/no-unused-styles": 2,
"react-native/no-inline-styles": 2,
"react-native/no-color-literals": 2,
"react-native/no-raw-text": 2,
"import/no-extraneous-dependencies": [0],
"import/extensions": ["error", { "js": "never", "json": "always" }],
"no-undef": 0,
"no-nested-ternary": 0,
"no-restricted-syntax": 0,
"no-prototype-builtins": 0,
"radix": ["error", "as-needed"],
"comma-dangle": ["error", "never"],
"arrow-parens": ["error", "as-needed"]
}
}