From 6a94bdf6ef2ab26c9aaae829de34bf9fcf8d400a Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 2 Jun 2022 11:26:23 +0200 Subject: [PATCH 1/2] test linter --- src/App.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/App.js b/src/App.js index 4a4b7aa..01b3b52 100644 --- a/src/App.js +++ b/src/App.js @@ -27,4 +27,11 @@ function App() { ); } + function very_badFormating(){ + const bad = 0; + bad = 1; + console.log(bad) + const another_bad = () => {}; + + } export default App; From 727bede53af0e6d4479c810116421c4a62d195eb Mon Sep 17 00:00:00 2001 From: Lint Action Date: Thu, 2 Jun 2022 09:27:21 +0000 Subject: [PATCH 2/2] Fix code style issues with ESLint --- src/App.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/App.js b/src/App.js index 01b3b52..dc345b1 100644 --- a/src/App.js +++ b/src/App.js @@ -27,11 +27,10 @@ function App() { ); } - function very_badFormating(){ - const bad = 0; - bad = 1; - console.log(bad) - const another_bad = () => {}; - - } +function very_badFormating() { + const bad = 0; + bad = 1; + console.log(bad); + const another_bad = () => {}; +} export default App;