mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 01:38:18 +00:00
68 lines
1.5 KiB
Plaintext
68 lines
1.5 KiB
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"jest": true,
|
|
"es6": true,
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"react-native",
|
|
"flowtype",
|
|
"import"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"modules": true
|
|
}
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:import/errors"
|
|
],
|
|
"rules": {
|
|
"comma-dangle": [2, "always-multiline"],
|
|
"quotes": [2, "single", { "allowTemplateLiterals": true }],
|
|
"react/prop-types": 0,
|
|
"no-case-declarations": 0,
|
|
"react/jsx-no-bind": 0,
|
|
"react/display-name": 0,
|
|
"new-cap": 0,
|
|
"react-native/no-unused-styles": 2,
|
|
"react-native/split-platform-components": 0,
|
|
"react-native/no-inline-styles": 0,
|
|
"react-native/no-color-literals": 0,
|
|
"no-unexpected-multiline": 0,
|
|
"no-class-assign": 1,
|
|
"no-console": 2,
|
|
"object-curly-spacing": [1, "always"],
|
|
"flowtype/define-flow-type": 1,
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"globals": {
|
|
"__DEV__": true
|
|
}
|
|
} |