mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
build(lint): report undefined identifiers in scripts (#11199)
This commit is contained in:
1 parent
cef87c498a
commit
0fc3f74d96
1 file changed
+16
@@ -63,6 +63,22 @@
|
||||
"rea/no-shared-module-mock": "error"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["scripts/**/*.mjs", "scripts/**/*.js", "scripts/**/*.cjs"],
|
||||
"env": { "node": true, "es2024": true },
|
||||
"rules": { "no-undef": "error" }
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"scripts/lib/browser-scenario-service-workers-e2e.mjs",
|
||||
"scripts/lib/browser-screenshot-e2e.mjs",
|
||||
"scripts/verify-browser-dom-destinations.mjs"
|
||||
],
|
||||
"globals": {
|
||||
"document": "readonly",
|
||||
"ServiceWorkerContainer": "readonly"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": ["src/domain/**/*.ts"],
|
||||
"rules": { "rea/no-locale-compare": "error" }
|
||||
|
||||
Reference in new issue
Block a user