Skip to content

Commit b4130b1

Browse files
committed
Bug 1832765 - start linting scss across the tree in our standard config, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D178532
1 parent bbd0a43 commit b4130b1

File tree

7 files changed

+237
-55
lines changed

7 files changed

+237
-55
lines changed

.stylelintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,12 @@ module.exports = {
237237
},
238238
],
239239
},
240+
241+
overrides: [
242+
{
243+
files: "*.scss",
244+
customSyntax: "postcss-scss",
245+
extends: "stylelint-config-recommended-scss",
246+
},
247+
],
240248
};

browser/components/pocket/content/panels/css/saved.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
}
4949
}
5050
.pkt_ext_containersaved .pkt_ext_loadingspinner {
51-
position: relative;
5251
display: inline-block;
5352
height: 2.5em;
5453
inset-inline-start: 50%;
@@ -661,7 +660,7 @@
661660
border-radius: 4px;
662661
border: 1px solid #c3c3c3;
663662
overflow: hidden;
664-
margin: 0;
663+
margin: 0 0.2em;
665664
padding: 0 8px;
666665
background-color: #f7f7f7;
667666
color: #000;
@@ -670,7 +669,6 @@
670669
line-height: 1.5;
671670
display: block;
672671
width: auto;
673-
margin: 0 0.2em;
674672
float: inline-start;
675673
}
676674
.pkt_ext_containersaved .pkt_ext_tag_input_wrapper_disabled {

0 commit comments

Comments
 (0)