style: add warning for usage of console

This commit is contained in:
fryorcraken.eth 2022-09-05 21:28:33 +10:00
parent c5e1f50cc8
commit 3c5f1d89df
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 4 additions and 2 deletions

View File

@ -32,13 +32,15 @@
"sort-imports": [
"error",
{ "ignoreDeclarationSort": true, "ignoreCase": true }
]
],
"no-console": "warn"
},
"overrides": [
{
"files": ["*.spec.ts", "**/test_utils/*.ts"],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
"@typescript-eslint/no-non-null-assertion": "off",
"no-console": "off"
}
}
]