ISSUE-068 - Now Styled-Components can self-label.
Updated babel-plugin-styled-components to a new version that works. Added extra option to macros settings to not bother showing the file names.
This commit is contained in:
1 parent
9ccaa5b3d6
commit
3b165c42e9
38 files changed
+66
-133
No files matched your search
+15
-1
@@ -63,6 +63,20 @@
|
||||
"as-needed"
|
||||
],
|
||||
"react/jsx-uses-react": "off",
|
||||
"react/react-in-jsx-scope": "off"
|
||||
"react/react-in-jsx-scope": "off",
|
||||
"no-restricted-imports": [
|
||||
"error",
|
||||
{
|
||||
"paths": [
|
||||
{
|
||||
"name": "styled-components",
|
||||
"message": "Please import from styled-components/macro."
|
||||
}
|
||||
],
|
||||
"patterns": [
|
||||
"!styled-components/macro"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user