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

Feature: lint less files with csslint #25

Merged
merged 5 commits into from
Oct 12, 2015
Merged

Conversation

jamesjwarren
Copy link
Member

Closes #17

Here is an example of some of the options available in the .cssslintrc file https://github.com/twbs/bootstrap/blob/master/less/.csslintrc

Bootstrap use this in combination with csscomb, so may be worth using that too.

@@ -0,0 +1,3 @@
{

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind using bootstrap's options here as long as it doesn't conflict with our styleguide

@edoparearyee
Copy link
Collaborator

looking good so far 😄

@jamesjwarren
Copy link
Member Author

@edwardoparearyee I've added csslint rules and also configured csscomb with rules from bootstraps example, these are mainly consistent with out styleguide anyway. CSScomb will ensure less rules are formatted consistently and properties are ordered consistently.

@edoparearyee
Copy link
Collaborator

👍 LGTM

jamesjwarren added a commit that referenced this pull request Oct 12, 2015
Feature: lint less files with csslint
@jamesjwarren jamesjwarren merged commit 25c3b3f into develop Oct 12, 2015
@edoparearyee edoparearyee mentioned this pull request Oct 12, 2015
@jamesjwarren jamesjwarren deleted the feature/csslint branch October 13, 2015 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants