root: Allow console.table in lint rules

This commit is contained in:
willclarktech 2020-09-15 17:15:33 +02:00
parent 347ac684ae
commit b0cec3368f
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -22,7 +22,7 @@ module.exports = {
rules: {
curly: ["warn", "multi-line", "consistent"],
"no-bitwise": "warn",
"no-console": ["warn", { allow: ["error", "info", "warn"] }],
"no-console": ["warn", { allow: ["error", "info", "table", "warn"] }],
"no-param-reassign": "warn",
"no-shadow": "warn",
"no-unused-vars": "off", // disabled in favour of @typescript-eslint/no-unused-vars, see https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md