Enable no-console ESLint rule (#3871)

* Enable no-console

* Lint files

* Add changeset
This commit is contained in:
Michał Droń 2023-07-06 14:37:22 +02:00 committed by GitHub
parent 3093be1b7d
commit 1c9291932a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---
Enable no-console ESLint rule

View file

@ -61,6 +61,12 @@
"paths": ["lodash", "@material-ui/icons/Delete", "classnames"] "paths": ["lodash", "@material-ui/icons/Delete", "classnames"]
} }
], ],
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
// These rules should be reviewed - tracked in // These rules should be reviewed - tracked in
// Tracked in https://github.com/saleor/saleor-dashboard/issues/3813 // Tracked in https://github.com/saleor/saleor-dashboard/issues/3813
"@typescript-eslint/consistent-type-imports": "off", "@typescript-eslint/consistent-type-imports": "off",