Enable no-console
ESLint rule (#3871)
* Enable no-console * Lint files * Add changeset
This commit is contained in:
parent
3093be1b7d
commit
1c9291932a
2 changed files with 11 additions and 0 deletions
5
.changeset/red-dogs-occur.md
Normal file
5
.changeset/red-dogs-occur.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"saleor-dashboard": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Enable no-console ESLint rule
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue