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

[parser-css] Use postcss-safe-parser for fault tolerance [0.5] #1580

Closed
antross opened this issue Dec 13, 2018 · 0 comments · Fixed by #1757
Closed

[parser-css] Use postcss-safe-parser for fault tolerance [0.5] #1580

antross opened this issue Dec 13, 2018 · 0 comments · Fixed by #1757

Comments

@antross
Copy link
Member

antross commented Dec 13, 2018

Currently malformed CSS will cause the entire file to be ignored. By switching to use the fault-tolerant parser for PostCSS such files can still be analyzed, behaving more like a browser would.

https://github.com/postcss/postcss-safe-parser

@molant molant added this to the 1901-02 milestone Jan 14, 2019
@antross antross assigned bruiztorres and unassigned alrra Jan 18, 2019
antross added a commit to antross/hint that referenced this issue Jan 24, 2019
Fix webhintio#1580

Also update tests to run in parallel.
antross added a commit to antross/hint that referenced this issue Jan 24, 2019
Fix webhintio#1580

Also update tests to run in parallel.

Co-Authored-By: Borja Ruiz Torres <borgitas21@users.noreply.github.com>
@antross antross self-assigned this Jan 24, 2019
antross added a commit that referenced this issue Jan 25, 2019
Fix #1580

Also update tests to run in parallel.

Co-Authored-By: Borja Ruiz Torres <borgitas21@users.noreply.github.com>
@antross antross changed the title [parser-css] Use postcss-safe-parser for fault tolerance [parser-css] Use postcss-safe-parser for fault tolerance [0.5] Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants