mirror of
https://github.com/hanzoai/team.git
synced 2026-10-30 14:49:35 +00:00
* 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
23 lines
395 B
JSON
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"]
|
|
}
|
|
}
|
|
]
|
|
}
|