From e5acd56b0f23b1eb4854b2f6657da5986e418735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Fri, 1 Dec 2023 15:59:19 +0100 Subject: [PATCH] Removed andoid folder for eslint and type script and fixed apostrophes --- front/.eslintrc.json | 3 ++- front/tsconfig.json | 3 ++- front/views/PlayView.tsx | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/front/.eslintrc.json b/front/.eslintrc.json index 501a0c8..030bfe1 100644 --- a/front/.eslintrc.json +++ b/front/.eslintrc.json @@ -12,7 +12,8 @@ "webpack.config.js", "babel.config.js", "*.test.*", - "app.config.ts" + "app.config.ts", + "android/" ], "rules": { "react/react-in-jsx-scope": "off", diff --git a/front/tsconfig.json b/front/tsconfig.json index 451c610..9dbe3df 100644 --- a/front/tsconfig.json +++ b/front/tsconfig.json @@ -114,6 +114,7 @@ "app.config.ts", "*/*.test.tsx", "web-build", - "dist" + "dist", + "android" ] } diff --git a/front/views/PlayView.tsx b/front/views/PlayView.tsx index 52241d3..cd0657c 100644 --- a/front/views/PlayView.tsx +++ b/front/views/PlayView.tsx @@ -229,7 +229,7 @@ const PlayView = ({ songId, route }: RouteProps) => { }; inputs.forEach((input) => { input.onmidimessage = (message) => { - console.log("onmessage"); + console.log('onmessage'); const { command, note } = parseMidiMessage(message); const keyIsPressed = command == 9;