realm-js/tests/react-test-app/.eslintrc.json

40 lines
799 B
JSON
Raw Normal View History

2015-10-07 23:20:05 +00:00
{
"env": {
"commonjs": true,
"es6": true
},
"globals": {
"cancelAnimationFrame": false,
"clearImmediate": false,
"clearInterval": false,
"clearTimeout": false,
"console": false,
"global": false,
"requestAnimationFrame": false,
"setImmediate": false,
"setInterval": false,
"setTimeout": false
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"forOf": false,
"jsx": true
}
},
2015-10-07 23:20:05 +00:00
"plugins": [
"react"
],
"rules": {
"no-console": 0,
"strict": 0,
2015-10-07 23:20:05 +00:00
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
2015-10-07 23:20:05 +00:00
"react/no-direct-mutation-state": 1,
"react/prefer-es6-class": 1,
"react/react-in-jsx-scope": 2
}
}