2016-09-23 10:36:47 +00:00
|
|
|
module.exports = {
|
2016-09-25 16:04:09 +00:00
|
|
|
"sourceType": "module",
|
2016-09-23 10:36:47 +00:00
|
|
|
"parser": "babel-eslint",
|
2016-10-07 16:31:32 +00:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
2016-09-26 05:44:23 +00:00
|
|
|
"extends": "standard",
|
2016-09-23 10:36:47 +00:00
|
|
|
"installedESLint": true,
|
2016-09-25 16:04:09 +00:00
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
2016-09-23 10:36:47 +00:00
|
|
|
"plugins": [
|
2016-09-26 05:44:23 +00:00
|
|
|
"promise",
|
|
|
|
"standard",
|
2016-09-25 16:04:09 +00:00
|
|
|
"react"
|
2016-10-04 15:06:49 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
2016-10-07 16:31:32 +00:00
|
|
|
"react/jsx-uses-react": [2],
|
|
|
|
"react/jsx-uses-vars": [2],
|
2016-10-04 15:06:49 +00:00
|
|
|
"yoda": [2, "never", { "exceptRange": true }]
|
|
|
|
}
|
2016-09-25 16:04:09 +00:00
|
|
|
}
|