Skip to content

Commit f54707e

Browse files
committed
Reformat the code
1 parent d04f221 commit f54707e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

rules/specificity.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ function rule(analyzer) {
2323
let selectorSpecificity;
2424
try {
2525
selectorSpecificity = specificity.calculate(selector);
26-
}
27-
catch(ex) {
26+
} catch (ex) {
2827
return;
2928
}
3029

@@ -35,7 +34,11 @@ function rule(analyzer) {
3534
}
3635

3736
// parse the results
38-
const parts = [ selectorSpecificity['A'], selectorSpecificity['B'], selectorSpecificity['C'] ];
37+
const parts = [
38+
selectorSpecificity["A"],
39+
selectorSpecificity["B"],
40+
selectorSpecificity["C"],
41+
];
3942

4043
debug("%s: %s", selector, parts.join(","));
4144

0 commit comments

Comments
 (0)