diff --git a/.eslintrc.js b/.eslintrc.js index 61b3961..40c6dcd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,7 +1,4 @@ module.exports = { root: true, extends: '@react-native-community', - rules: { - 'arrow-parens': 'as-needed', - }, }; diff --git a/.gitignore b/.gitignore index b512c09..55371e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +.vscode \ No newline at end of file diff --git a/package.json b/package.json index 7b169d1..e86363b 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "react-native-webview": "^7.5.2" }, "devDependencies": { - "@react-native-community/eslint-config": "^1.0.0", + "@react-native-community/eslint-config": "^1.1.0", "eslint": "^6.8.0" }, "dependencies": { diff --git a/src/PlayerScripts.js b/src/PlayerScripts.js index 98f864e..12323c7 100644 --- a/src/PlayerScripts.js +++ b/src/PlayerScripts.js @@ -63,7 +63,9 @@ export const MAIN_SCRIPT = (