Skip to content

Commit

Permalink
Check prettier GH action workflow; add formatting errors for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
robyngit committed May 21, 2024
1 parent 56b68b1 commit 30df4b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint-and-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,5 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
prettier_flags: '--check src/**/*.js'
filter_mode: 'diff_context'

8 changes: 4 additions & 4 deletions src/js/views/TOCView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

}
},
Expand Down

0 comments on commit 30df4b9

Please sign in to comment.