- 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
25 lines
412 B
JSON
25 lines
412 B
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
|