Skip to content

Commit 9be1881

Browse files
committed
Fix and relax some lint rules
1 parent 9eb4c06 commit 9be1881

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

static/atom-ui/styles/badges.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
// Color ----------------------
1818

19-
.badge-color( @fg: @text-color-selected;
20-
@bg: @background-color-selected; ) {
19+
.badge-color( @fg: @text-color-selected; @bg: @background-color-selected; ) {
2120
color: @fg;
2221
background-color: @bg;
2322
}

static/atom-ui/styles/mixins/mixins.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@
1515
//
1616
.border-top-radius(@radius) {
1717
border-top-right-radius: @radius;
18-
border-top-left-radius: @radius;
18+
border-top-left-radius: @radius;
1919
}
2020
.border-right-radius(@radius) {
2121
border-bottom-right-radius: @radius;
22-
border-top-right-radius: @radius;
22+
border-top-right-radius: @radius;
2323
}
2424
.border-bottom-radius(@radius) {
2525
border-bottom-right-radius: @radius;
26-
border-bottom-left-radius: @radius;
26+
border-bottom-left-radius: @radius;
2727
}
2828
.border-left-radius(@radius) {
2929
border-bottom-left-radius: @radius;
30-
border-top-left-radius: @radius;
30+
border-top-left-radius: @radius;
3131
}
3232

3333

stylelint.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ module.exports = {
99
"selector-type-no-unknown": null,
1010
"function-comma-space-after": null, // TODO: enable?
1111
"font-family-no-missing-generic-family-keyword": null, // needed for octicons (no sensible fallback)
12+
"block-opening-brace-space-before": null,
13+
"block-closing-brace-empty-line-before": null,
14+
"declaration-colon-space-after": null,
15+
"declaration-block-single-line-max-declarations": null,
1216
"declaration-empty-line-before": null, // TODO: enable?
1317
"declaration-block-trailing-semicolon": null, // TODO: enable
1418
"no-descending-specificity": null,

0 commit comments

Comments
 (0)