Fixes css-unused-selector: Add to message which selector is unused #5252
pull/5253/head
Zachiah 5 years ago committed by GitHub
parent 1398affa53
commit a5e27825a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -435,7 +435,7 @@ export default class Stylesheet {
child.warn_on_unused_selector((selector: Selector) => {
component.warn(selector.node, {
code: `css-unused-selector`,
message: `Unused CSS selector`
message: `Unused CSS selector ` + this.source.substring(selector.node.start, selector.node.end)
});
});
});

Loading…
Cancel
Save