diff --git a/.github/workflows/lint-and-format.yml b/.github/workflows/lint-and-format.yml index f1a334f43..3ca0dc0fb 100644 --- a/.github/workflows/lint-and-format.yml +++ b/.github/workflows/lint-and-format.yml @@ -40,6 +40,5 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-pr-review - prettier_flags: '--check src/**/*.js' filter_mode: 'diff_context' - + diff --git a/src/js/views/TOCView.js b/src/js/views/TOCView.js index c3cc526e8..4a211b11b 100644 --- a/src/js/views/TOCView.js +++ b/src/js/views/TOCView.js @@ -470,10 +470,10 @@ define([ }, tempMethodWithLintingFormattingErrors: function() { - const a = 1; - a = 2; - b = 99; - console.log("This is a test of the linting errors."); + const a = 1; + a = 2; + b = 99; + console.log("This is a test of the linting errors."); } },