From 8954a65cbd3c7666f564ccba05e34382423e6c58 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Fri, 6 Dec 2024 17:51:34 -0500 Subject: [PATCH] ci: Run JS lint on all files --- .github/workflows/js.yml | 2 +- data_registry/static/markdown.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index e8219c0b..9759d772 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -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 . diff --git a/data_registry/static/markdown.js b/data_registry/static/markdown.js index 449f1b61..15596a01 100644 --- a/data_registry/static/markdown.js +++ b/data_registry/static/markdown.js @@ -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')