2016-01-11 23:11:15 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"commonjs": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
2016-03-02 23:16:22 +00:00
|
|
|
"parser": "babel-eslint",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"forOf": false,
|
|
|
|
"jsx": true
|
|
|
|
}
|
2016-01-11 23:11:15 +00:00
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"react"
|
|
|
|
],
|
|
|
|
"rules": {
|
2016-03-02 23:16:22 +00:00
|
|
|
"strict": 0,
|
2016-01-11 23:11:15 +00:00
|
|
|
"react/jsx-no-duplicate-props": 2,
|
|
|
|
"react/jsx-no-undef": 2,
|
|
|
|
"react/jsx-uses-react": 2,
|
2016-03-02 23:16:22 +00:00
|
|
|
"react/jsx-uses-vars": 2,
|
2016-01-11 23:11:15 +00:00
|
|
|
"react/no-direct-mutation-state": 1,
|
|
|
|
"react/prefer-es6-class": 1,
|
|
|
|
"react/react-in-jsx-scope": 2
|
|
|
|
}
|
|
|
|
}
|