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

feat: resolve ignorefile for stylelint #468

Merged
merged 2 commits into from
May 22, 2024
Merged

feat: resolve ignorefile for stylelint #468

merged 2 commits into from
May 22, 2024

Conversation

ismay
Copy link
Member

@ismay ismay commented May 21, 2024

See https://dhis2.atlassian.net/browse/DHIS2-16776. I've just added the docs for it, stylelint already handles this properly without any extra code required.

const cmd = 'stylelint'
const cwd = PACKAGE_ROOT
const args = [...(apply ? ['--fix'] : []), ...files]
const args = [
'--report-needless-disables',
Copy link
Member Author

Choose a reason for hiding this comment

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

We do this for eslint as well, so I've also added it here.

@ismay ismay marked this pull request as ready for review May 22, 2024 12:44
@ismay ismay merged commit bb133b2 into master May 22, 2024
6 checks passed
@ismay ismay deleted the add-ignorefile branch May 22, 2024 14:07
dhis2-bot added a commit that referenced this pull request May 22, 2024
## [10.7.1](v10.7.0...v10.7.1) (2024-05-22)

### Bug Fixes

* document ignorefile for stylelint ([#468](#468)) ([bb133b2](bb133b2))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 10.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants