Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

[Dev] Apply formatters and linters to styled-components code #599

Open
orta opened this issue Jun 8, 2017 · 1 comment
Open

[Dev] Apply formatters and linters to styled-components code #599

orta opened this issue Jun 8, 2017 · 1 comment

Comments

@orta
Copy link
Contributor

orta commented Jun 8, 2017

So you use https://github.com/morishitter/stylefmt to format at runtime, then https://stylelint.io to lint at CI time.

Dev Time

Looks like we can use: https://www.npmjs.com/package/styled-components-stylefmt to automate the formatting

This may need editor support so we can run it when you press save, and it can be added to the husky pre-commit/pre-push formatters,

Editor support could come from https://github.com/mrmlnc/vscode-stylefmt - probably can make some changes to support using styled-components-stylefmt instead.

CI Time

We can use https://stylelint.io to lint that everything is 👍

@orta
Copy link
Contributor Author

orta commented Jul 14, 2017

#681 gets us to the point where our CSS looks and feels like web CSS. It adds inline reports etc.

I think to make it auto-fix, we'd need to build

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant