68 lines
1.5 KiB
Plaintext
Raw Normal View History

2017-12-31 13:30:33 -02:00
{
2018-04-15 12:13:57 -03:00
"parser": "babel-eslint",
2017-12-31 13:30:33 -02:00
"env": {
"browser": true,
"node": true,
"jest": true,
2018-04-15 12:13:57 -03:00
"es6": true,
2017-12-31 13:30:33 -02:00
},
2018-04-15 12:13:57 -03:00
"plugins": [
"react",
"react-native",
"flowtype",
"import"
],
2017-12-31 13:30:33 -02:00
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
2018-04-15 12:13:57 -03:00
"plugin:import/errors"
2017-12-31 13:30:33 -02:00
],
"rules": {
"comma-dangle": [2, "always-multiline"],
"quotes": [2, "single", { "allowTemplateLiterals": true }],
"react/prop-types": 0,
2018-04-15 12:13:57 -03:00
"no-case-declarations": 0,
2017-12-31 13:30:33 -02:00
"react/jsx-no-bind": 0,
"react/display-name": 0,
"new-cap": 0,
"react-native/no-unused-styles": 2,
2018-04-15 12:13:57 -03:00
"react-native/split-platform-components": 0,
"react-native/no-inline-styles": 0,
2017-12-31 13:30:33 -02:00
"react-native/no-color-literals": 0,
2018-04-15 12:13:57 -03:00
"no-unexpected-multiline": 0,
2017-12-31 13:30:33 -02:00
"no-class-assign": 1,
2018-04-15 12:13:57 -03:00
"no-console": 2,
2017-12-31 13:30:33 -02:00
"object-curly-spacing": [1, "always"],
2018-04-15 08:19:02 -03:00
"flowtype/define-flow-type": 1,
2018-04-15 12:13:57 -03:00
"flowtype/use-flow-type": 1,
"import/first": 2,
"import/default": 0,
"no-unused-vars": ["error", { "ignoreRestSiblings": true }],
"import/named": 0,
"import/namespace": [2, { "allowComputed": true }],
"no-extra-boolean-cast": 0,
"import/no-duplicates": 2
},
"settings": {
"import/resolver": {
"node": {
"extensions":[
".js",
".android.js",
".ios.js",
".json"
]
}
}
2017-12-31 13:30:33 -02:00
},
"globals": {
2018-04-15 12:13:57 -03:00
"__DEV__": true
2017-12-31 13:30:33 -02:00
}
2018-04-15 12:13:57 -03:00
}