Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linting CSS #13

Open
ascott1 opened this issue Feb 19, 2015 · 12 comments
Open

Linting CSS #13

ascott1 opened this issue Feb 19, 2015 · 12 comments
Assignees

Comments

@ascott1
Copy link
Member

ascott1 commented Feb 19, 2015

Moving this discussion from issue #9.

From @anselmbradford

Along the lines of what @mistergone is saying, what about a jshint model that hints at what should be updated, but doesn't update the files directly? I'm not sure on requiring git hooks, but having an easy to turn them on would be nice.

and @jimmynotjim

Looks like grunt-recess and grunt-lesslint are the main linters people are using (going by NPM downloads). Recess also seems to have a SublimeLinter plugin for doing auto-linting.

@Scotchester
Copy link
Contributor

This website has lots of CSS testing resources, which I have yet to thoroughly investigate: http://csste.st/

@anselmbradford
Copy link
Member

Has anyone looked at https://github.com/postcss/postcss, it looks very powerful for doing post-processing, linting, etc.

@ascott1
Copy link
Member Author

ascott1 commented Jun 26, 2015

Is this something we should be doing? Are any projects doing this now? If so, what tools are you using?

@Scotchester
Copy link
Contributor

I definitely think we should be. I don't know of any projects actually doing it yet.

@ascott1
Copy link
Member Author

ascott1 commented Jul 17, 2015

Discussed 07/17 in front-end meeting. Closing issue.

@ascott1 ascott1 closed this as completed Jul 17, 2015
@ascott1 ascott1 reopened this Jul 17, 2015
@ascott1
Copy link
Member Author

ascott1 commented Jul 17, 2015

JK LOL re-opening and putting in our backlog

@ascott1
Copy link
Member Author

ascott1 commented Jul 17, 2015

@cfarm
Copy link
Contributor

cfarm commented Aug 22, 2016

Didn't folks try out CSS Comb? How did y'all like it?

@jimmynotjim
Copy link
Contributor

We do this now with Stylelint, can we close this?

@Scotchester
Copy link
Contributor

We do? I know we experimented, but it's not in daily use anywhere yet, is it?

@jimmynotjim
Copy link
Contributor

@anselmbradford
Copy link
Member

Stylelint used in the wild in the design system https://github.com/cfpb/design-system/blob/main/stylelint.config.js

Could be added to consumerfinance.gov repo

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

No branches or pull requests

5 participants