From a051d91493118ad6451c71ef03d37024e6b63e57 Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" <70410625+michael-s-molina@users.noreply.github.com> Date: Thu, 12 May 2022 15:07:56 -0300 Subject: [PATCH] chore: Changes the no-literal-colors lint rule to throw errors instead of warnings (#20034) --- superset-frontend/.eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/.eslintrc.js b/superset-frontend/.eslintrc.js index b77de4133..01ef83996 100644 --- a/superset-frontend/.eslintrc.js +++ b/superset-frontend/.eslintrc.js @@ -210,7 +210,7 @@ module.exports = { }, ], rules: { - 'theme-colors/no-literal-colors': 1, + 'theme-colors/no-literal-colors': 'error', 'translation-vars/no-template-vars': ['error', true], camelcase: [ 'error',