The codebase uses ESLint to lint files.
If ESLint rules are not respected, the main GitHub workflow will fail during Run ESLint step.
If you want to keep ESLint, check How to use ESLint. Otherwise see How to remove ESLint.
The ESLint configuration can be found in .eslintrc.cjs.
It is recommended to install and use vscode-eslint to have ESLint integrated in VSCode.
To execute ESLint on all files use the following command: npm run eslint
> npm run eslint
/Users/d.maillard/dev/jsenv/jsenv-template-pwa/test/greet.test.html
12:16 error asert not found in '@jsenv/assert' import/named
12:16 error 'asert' is defined but never used no-unused-vars
18:7 error 'assert' is not defined no-undef
✖ 3 problems (3 errors, 0 warnings)
-
Remove
"Run ESLint"
step in .github/workflows/main.yml -
Remove
"eslint"
from"scripts"
in package.json -
Delete .eslintrc.cjs
-
Delete .eslintignore
-
Remove these
"devDependencies"
in package.json"@jsenv/eslint-config"
"@jsenv/eslint-import-resolver"
"eslint-plugin-import"
"eslint-plugin-html"
"eslint"