📦 build(workflows): add eslint configuration for workflows
Some checks failed
build-and-push / lint (push) Failing after 7s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped

- introduce .eslintrc.json file for ESLint settings
- configure environment, parser options, and rules for linting

 test(workflows): update build workflow with eslint integration

- integrate ESLint configuration into GitHub Actions workflow
- ensure lint job utilizes the new .eslintrc.json settings
This commit is contained in:
nocci 2026-01-08 13:18:45 +00:00
parent db77892ea9
commit 712f1caa0e
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{
"env": {
"node": true,
"es2021": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-unused-vars": "warn",
"no-undef": "error"
},
"globals": {
"cfg": "readonly",
"URL_CLAIM": "readonly",
"authenticator": "readonly",
"prompt": "readonly",
"notify": "readonly"
}
}

View file

@ -125,3 +125,5 @@ jobs:
run: | run: |
docker push "${{ secrets.REGISTRY_IMAGE }}:${{ env.IMAGE_TAG }}" docker push "${{ secrets.REGISTRY_IMAGE }}:${{ env.IMAGE_TAG }}"