Files
team/webapp/platform/client/.eslintrc.json
Harrison HealeyandGitHub 40ccd07f28 MM-67137 Fix references to window in client package (#35195)
* MM-67137 Fix references to window in client package

* Fix Client tests running on compiled code

* Mostly revert changes to limit the chance of accidental changes
2026-02-10 09:41:32 -05:00

23 lines
395 B
JSON

{
"root": true,
"extends": [
"plugin:@mattermost/base"
],
"rules": {
// window isn't defined when using this package in a Node.js app, so prevent people from using it by default
"no-restricted-globals": [
"error",
"window"
]
},
"overrides": [
{
"files": "*.test.*",
"rules": {
"no-restricted-globals": ["off"]
}
}
]
}