Commit 04f9552d authored by Clement Ho's avatar Clement Ho

Merge branch 'enable-scss-lint-bang-format' into 'master'

Enable BangFormat in scss-lint

See merge request !12815
parents af713ce7 2baef395
......@@ -10,7 +10,7 @@ linters:
# Reports when you use improper spacing around ! (the "bang") in !default,
# !global, !important, and !optional flags.
BangFormat:
enabled: false
enabled: true
# Whether or not to prefer `border: 0` over `border: none`.
BorderZero:
......
......@@ -675,8 +675,8 @@
}
.pika-single {
position: relative!important;
top: 0!important;
position: relative !important;
top: 0 !important;
border: 0;
box-shadow: none;
}
......
......@@ -330,7 +330,7 @@ header {
padding-left: 5px;
.nav > li:not(.hidden-xs) {
display: table-cell!important;
display: table-cell !important;
width: 25%;
a {
......
......@@ -11,7 +11,7 @@
.is-dragging {
// Important because plugin sets inline CSS
opacity: 1!important;
opacity: 1 !important;
* {
-webkit-user-select: none;
......@@ -19,8 +19,8 @@
-ms-user-select: none;
user-select: none;
// !important to make sure no style can override this when dragging
cursor: -webkit-grabbing!important;
cursor: grabbing!important;
cursor: -webkit-grabbing !important;
cursor: grabbing !important;
}
}
......
.js-pipeline-schedule-form {
.dropdown-select,
.dropdown-menu-toggle {
width: 100%!important;
width: 100% !important;
}
.gl-field-error {
......
......@@ -37,7 +37,7 @@ ul.notes-form,
.issuable-details .content-block-small,
.edit-link,
.note-action-button {
display: none!important;
display: none !important;
}
pre {
......
---
title: Enable BangFormat in scss-lint [ci skip]
merge_request: 12815
author: Takuya Noguchi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment