You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2021/04/28 06:19:44 UTC
[superset] 02/05: chore: restricting use of @emotion/core imports
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch emotion-from-superset-ui-core
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 6d2cfca10cdd4f77bef5e50a30f27507d0503d43
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Tue Apr 27 23:02:04 2021 -0700
chore: restricting use of @emotion/core imports
---
superset-frontend/.eslintrc.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/superset-frontend/.eslintrc.js b/superset-frontend/.eslintrc.js
index 5b79778..ccdb723 100644
--- a/superset-frontend/.eslintrc.js
+++ b/superset-frontend/.eslintrc.js
@@ -116,6 +116,11 @@ module.exports = {
message:
'Please import Ant components from the index of common/components',
},
+ {
+ name: '@emotion/core',
+ message:
+ 'Please import Emotion components from @superset-ui/core',
+ },
],
},
],