forked from react-native-camera/react-native-camera
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/hubble-capture
* master: (188 commits) 1.1.5 build(change-log): v1.1.5-2 Mock module and test a custom component using Jest (react-native-camera#1635) fix(rn-camera): fix codec backwards compat update zxing lib version [BUG, ANDROID] width prop not works correctly when fixOrientation is enabled (react-native-camera#1629) Update GradleUpgradeGuide.md (react-native-camera#1625) Docs around pause/resume preview (react-native-camera#1623) Added pause/resume preview functions to RNCamera (react-native-camera#1622) fix(picture-size): create None default value fix(rn-camera): fix types, conversions and casts WIP: Implement video stabilization mode property for ios (react-native-camera#1606) fix(picture-size): export method and change default value docs(expo): explain how to migrate to and from expo camera module (react-native-camera#1605) feat(preview): add android code feat(preview): add new props to JS ios-get-video-orientation-from-device-2 feat(preview): add preview methods and more fixes Update index.d.ts Bug/save to capture when app goes on pause (react-native-camera#1578) ...
- Loading branch information
Showing
161 changed files
with
18,017 additions
and
8,702 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,68 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"jest": true, | ||
"es6": true | ||
"es6": true, | ||
}, | ||
"parser": "babel-eslint", | ||
"plugins": [ | ||
"react", | ||
"react-native", | ||
"flowtype", | ||
"import" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"modules": true | ||
} | ||
}, | ||
"plugins": [ | ||
"react", | ||
"react-native", | ||
], | ||
"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/no-inline-styles": 1, | ||
"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": 1, | ||
"no-console": 2, | ||
"object-curly-spacing": [1, "always"], | ||
"no-unused-vars": ["error", { "ignoreRestSiblings": true }] | ||
"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, | ||
"device": true, | ||
"element": true, | ||
"by": true, | ||
"__DEV__": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[ignore] | ||
.*/node_modules/.* | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[lints] | ||
|
||
[options] | ||
|
||
[strict] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.