diff --git a/.changeset/red-dogs-occur.md b/.changeset/red-dogs-occur.md new file mode 100644 index 000000000..a9705bede --- /dev/null +++ b/.changeset/red-dogs-occur.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +Enable no-console ESLint rule diff --git a/.eslintrc.json b/.eslintrc.json index dcd00fe07..cf8fa459f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -61,6 +61,12 @@ "paths": ["lodash", "@material-ui/icons/Delete", "classnames"] } ], + "no-console": [ + "error", + { + "allow": ["warn", "error"] + } + ], // These rules should be reviewed - tracked in // Tracked in https://github.com/saleor/saleor-dashboard/issues/3813 "@typescript-eslint/consistent-type-imports": "off",