Skip to content

Commit

Permalink
ci: Run JS lint on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Dec 6, 2024
1 parent ee84d80 commit 8954a65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
with:
node-version: 18
- run: npm install eslint-plugin-html standard
- run: npx standard --plugin html '**/*.html'
- run: npx standard --plugin html .
2 changes: 1 addition & 1 deletion data_registry/static/markdown.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
document.addEventListener('DOMContentLoaded', event => {
const md = markdownit()
const md = markdownit() // eslint-disable-line no-undef

document.querySelectorAll('.markdownable').forEach(markdownable => {
const textarea = markdownable.querySelector('textarea')
Expand Down

0 comments on commit 8954a65

Please sign in to comment.