forked from YutamaKotaro/react-native-flex-keyboard-spacer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (35 loc) · 956 Bytes
/
.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": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"node": true,
"es6": true,
"browser": true,
},
"extends": "airbnb",
"rules": {
"react/require-extension": "off",
"react/jsx-filename-extension": [1, {"extensions":[".js", ".jsx"]}],
"react/jsx-indent": ["error", 4],
"linebreak-style": [0, "windows"],
"indent": ["error", 4],
"no-underscore-dangle": "off",
"import/imports-first": "off",
"padded-blocks": "off",
"no-unused-vars": ["error",{"argsIgnorePattern":"^store$|^next$|^action$"}],
"no-param-reassign": ["error", {"props":false}],
"import/prefer-default-export": "off",
"no-plusplus": "off",
"react/forbid-prop-types": "off",
"max-len": "off"
},
"plugins": [
"react"
]
}