Skip to content

Comment on Show HN: ECSS – Simple rules for efficient CSS

Comments

A pre-commit script would be nice and easy entry (at least for me)

As of now, you can integrate the Stylelint config in the editor/IDE of your choice to have live linting (tested with VS Code and Vim). Or you can run stylelint manually in the terminal.

Didn't think about git pre-commit hooks to be honest. But I'll look into it. If you have any ideas/suggestions, they are very welcome!

Check out lint-staged and husky within the node ecosystem.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.