Skip to content

Commit 5654ee7

Browse files
committed
Update README regarding interpolation linting
1 parent b5e0c0d commit 5654ee7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ const Wrapper = styled.div`
8383
`;
8484
```
8585

86+
#### Interpolation linting
87+
We do not currently support linting interpolations as it could be a big performance hit though we aspire to have at least partial support in the future. You can of course lint your own mixins in their separate files, but it won't be linted in context, the implementation currently just inserts relevant dummy values. This, we are afraid, means you won't be able to lint cases such as `declaration-block-no-duplicate-properties` etc. and won't be able to lint outside mixins such as [polished](https://github.com/styled-components/polished).
8688

8789
## License
8890

0 commit comments

Comments
 (0)