-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
33 lines (32 loc) · 867 Bytes
/
.eslintrc.js
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
const OFF = 0, WARN = 1, ERROR = 2;
module.exports = {
"extends": ["airbnb"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false,
"ecmaFeatures": {
globalReturn: true,
impliedStrict: true,
jsx: true,
arrowFunction: true
}
},
"plugins": [
"react"
],
"env": {
"es6": true,
"browser": true
},
"rules": {
"react/jsx-filename-extension": [WARN, {"extensions": [".js", ".jsx"]}],
"react/prop-types": [ERROR, {ignore: ["children"]}],
"react/jsx-indent": [OFF],
"react/no-unused-prop-types": OFF,
"react/forbid-prop-types": WARN,
"import/prefer-default-export": "off"
}
};