Files
team/webapp/platform/client/.eslintrc.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"]
}
}
]
}