Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Node.js versions updates:
.github/workflows/ci.yml
: Updated Node.js versions from16.x, 18.x
to20.x
in the CI workflow..github/workflows/watcher.yml
: Updated Node.js version from16.x
to20.x
in the watcher workflow.ESLint configuration modifications:
.eslintignore
: Removednode_modules/
from the ESLint ignore file..eslintrc.json
: Removed the existing ESLint configuration.eslint.config.js
: Added a new ESLint configuration, including rules and ignore paths.JavaScript code simplification:
github-action.js
: Simplified condition checks and replacedlet
withconst
for immutable variables. [1] [2] [3]index.js
: Replacedlet
withconst
for themsg
variable.watcher.js
: Replacedlet
withconst
for immutable variables and enabled logging for errors in thegetCodeScanningAlertStatus
function. [1] [2] [3]Other changes:
.github/workflows/ci.yml
: Replacedeslint
andcspell
commands withnpm test
in the CI workflow..github/workflows/watcher.yml
: Removed commented code and updated the organization matrix.LICENSE
: Updated the copyright notice.package.json
: Updated thetest
script and thedevDependencies
. [1] [2]