Skip to content

Commit

Permalink
Added eslintignore and performed linting
Browse files Browse the repository at this point in the history
Signed-off-by: sarthakpranesh <[email protected]>
  • Loading branch information
sarthakpranesh committed Sep 7, 2021
1 parent 9c50c50 commit 8d9a1a3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
web-build
src-tauri
.expo
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = function (api) {
plugins: ["react-native-reanimated/plugin"],
env: {
production: {
plugins: ["react-native-paper/babel"],
plugins: ["transform-remove-console"],
},
},
};
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@typescript-eslint/parser": "^4.31.0",
"babel-preset-expo": "^8.4.1",
"eslint": "^7.32.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"eslint-config-universe": "^7.0.1",
"pre-commit": "^1.2.2",
"prettier": "^2.3.2",
Expand Down
2 changes: 1 addition & 1 deletion src/screens/SplashScreen.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const styles = StyleSheet.create({
flex: 1,
justifyContent: "center",
alignItems: "center",
backgroundColor: "#DEF7FF"
backgroundColor: "#DEF7FF",
},
icon: {
width: 200,
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2773,6 +2773,11 @@ babel-plugin-syntax-trailing-function-commas@^7.0.0-beta.0:
resolved "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-7.0.0-beta.0.tgz"
integrity sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==

babel-plugin-transform-remove-console@^6.9.4:
version "6.9.4"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz#b980360c067384e24b357a588d807d3c83527780"
integrity sha1-uYA2DAZzhOJLNXpYjYB9PINSd4A=

babel-preset-expo@^8.4.1, babel-preset-expo@~8.4.1:
version "8.4.1"
resolved "https://registry.npmjs.org/babel-preset-expo/-/babel-preset-expo-8.4.1.tgz"
Expand Down

0 comments on commit 8d9a1a3

Please sign in to comment.