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

Replace eslint-config-cssnano with xo #105

Merged
merged 3 commits into from
Mar 8, 2021
Merged

Replace eslint-config-cssnano with xo #105

merged 3 commits into from
Mar 8, 2021

Conversation

ben-eb
Copy link
Owner

@ben-eb ben-eb commented Mar 7, 2021

I'd like to deprecate https://github.com/ben-eb/eslint-config-cssnano if possible as I can't spare the time to maintain it. 🙂

@coveralls
Copy link

coveralls commented Mar 7, 2021

Coverage Status

Coverage remained the same at 100.0% when pulling ba3e438 on migrate-to-xo into 766abff on master.

'<circle cx="50" cy="50" r="40" fill="yellow" />' +
'<!-- test comment --></svg>';
const doctype =
'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe increase the printwidth (via prettierrc) so that the diff doesnt have so much linewraps?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Possibly better might be to move these fixtures out into svg files and read them in from the test instead?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Sounds good.

Copy link
Owner Author

Choose a reason for hiding this comment

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

@rejas Done, note that whitespace is controlled by xo --fix for now rather than prettier --write. I'd like at some point to get this all automated if possible. 👍

@ben-eb ben-eb merged commit 2067c1a into master Mar 8, 2021
@ben-eb ben-eb deleted the migrate-to-xo branch March 8, 2021 19:27
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.

3 participants