Skip to content

Commit 78fc833

Browse files
authored
Patch - CSS and JS optimization: Remove grunt-sass-lint (#2523)
* build: remove grunt-sass-lint * build: add stylelint-order plugin * chore: remove scss-lint comments blocks
1 parent f408deb commit 78fc833

File tree

15 files changed

+70
-1447
lines changed

15 files changed

+70
-1447
lines changed

.sass-lint.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

Gruntfile.coffee

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module.exports = (grunt) ->
2222
"eslint:all"
2323
"jsonlint:all"
2424
"stylelint"
25-
"sasslint:all"
2625
"lintspaces:all"
2726
]
2827
)
@@ -259,14 +258,6 @@ module.exports = (grunt) ->
259258
grunt.file.write(writeTo, JSON.stringify(pkg, null, 2));
260259
)
261260

262-
@registerTask(
263-
"linting"
264-
"Initial build setup"
265-
[
266-
"sasslint"
267-
]
268-
)
269-
270261
@registerMultiTask(
271262
"méli-mélo-build"
272263
"Try to dynamically compile mélimélo",
@@ -1074,16 +1065,7 @@ module.exports = (grunt) ->
10741065
options: {
10751066
indent: "\t"
10761067
}
1077-
sasslint:
1078-
options:
1079-
configFile: ".sass-lint.yml"
1080-
all:
1081-
expand: true
1082-
src: [
1083-
"{sites,common,components,templates,design-patterns,wet-boew}/**/*.scss"
1084-
"!*-jekyll.scss"
1085-
"!node_modules"
1086-
]
1068+
10871069
lintspaces:
10881070
all:
10891071
src: [

common/scaffolding/_base.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ h6, .h6 {
4848

4949
/* Forms */
5050

51-
// scss-lint:disable QualifyingElement
5251
input[placeholder],
5352
[placeholder],
5453
*[placeholder] {

components/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@
134134

135135
/* Embedding a Fluid Survey */
136136
.gc-fld-srvy-container {
137-
-webkit-overflow-scrolling: touch;
138137
height: 0;
139138
overflow: hidden;
139+
-webkit-overflow-scrolling: touch;
140140
overflow-y: scroll;
141141
padding-bottom: 70%;
142142
position: relative;

components/wb-chtwzrd/_base.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@
192192

193193
.wb-chtwzrd-container .header .title {
194194
-webkit-box-orient: vertical;
195-
-webkit-line-clamp: 2;
196195
display: -webkit-box;
197196
font-size: 19px;
197+
-webkit-line-clamp: 2;
198198
line-height: 1.35;
199199
overflow: hidden;
200200
padding: 6px 0;
@@ -402,9 +402,9 @@
402402
width: 100%;
403403
}
404404
.wb-chtwzrd-container .conversation {
405-
-ms-flex-positive: 1;
406405
-webkit-box-flex: 1;
407406
flex-grow: 1;
407+
-ms-flex-positive: 1;
408408
max-height: none;
409409
min-height: 2em;
410410
}

0 commit comments

Comments
 (0)