Skip to content

[qa] add css linting to run qa-checks #373#376

Merged
nemesifier merged 5 commits intoopenwisp:masterfrom
totallynotvaishnav:373-css-linting-to-run-qa-checks
Feb 26, 2021
Merged

[qa] add css linting to run qa-checks #373#376
nemesifier merged 5 commits intoopenwisp:masterfrom
totallynotvaishnav:373-css-linting-to-run-qa-checks

Conversation

@totallynotvaishnav
Copy link
Contributor

Fixes #373

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Can you please add a stylelint configuration like the one we have in ow-notifications and ensure the build passes?

@totallynotvaishnav
Copy link
Contributor Author

Sure, I'll do that.

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Sorry for my delayed response, I merged the latest master and resolved the conflict but the build is still failing, could you fix it? See also my comment below.

],
"unit-allowed-list": ["em", "rem", "%", "s", "px", "vh", "deg", "pt"]
}
}
Copy link
Member

Choose a reason for hiding this comment

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

the indentation of this file is odd, can you ensure it uses 4 spaces please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's already 4 spaces when viewed in my IDE. I don't know why indentation changes when pushed to GitHub.

Copy link
Member

Choose a reason for hiding this comment

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

it's because it's using tabs instead of spaces, I suggest enabling the "show white space option in your editor" so you can see this. Can you change from tabs to spaces please? We do this for consistency with the rest of the codebase which uses only spaces.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it

@totallynotvaishnav totallynotvaishnav force-pushed the 373-css-linting-to-run-qa-checks branch 4 times, most recently from 2e57179 to 7045cd1 Compare February 24, 2021 09:46
@coveralls
Copy link

coveralls commented Feb 24, 2021

Coverage Status

Coverage increased (+0.0004%) to 99.1% when pulling 985cb81 on iamvaishnav:373-css-linting-to-run-qa-checks into 5f9f5b0 on openwisp:master.

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Did some testing and everything is fine, almost ready, see my comment below for the last thing.

],
"unit-allowed-list": ["em", "rem", "%", "s", "px", "vh", "deg", "pt"]
}
}
Copy link
Member

Choose a reason for hiding this comment

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

it's because it's using tabs instead of spaces, I suggest enabling the "show white space option in your editor" so you can see this. Can you change from tabs to spaces please? We do this for consistency with the rest of the codebase which uses only spaces.

 Fixes openwisp#373

change indentation from tabs to spaces
@totallynotvaishnav totallynotvaishnav force-pushed the 373-css-linting-to-run-qa-checks branch from 1d4186c to 985cb81 Compare February 25, 2021 10:46
Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

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

Thanks @iamvaishnav 👍

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.

[qa] Add css linting to run-qa-checks

3 participants