Enable BangFormat in scss-lint

This commit is contained in:
Takuya Noguchi 2017-07-12 23:47:54 +09:00
parent 4daa6da540
commit 2baef3951c
7 changed files with 13 additions and 9 deletions

View File

@ -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:

View File

@ -675,8 +675,8 @@
}
.pika-single {
position: relative!important;
top: 0!important;
position: relative !important;
top: 0 !important;
border: 0;
box-shadow: none;
}

View File

@ -330,7 +330,7 @@ header {
padding-left: 5px;
.nav > li:not(.hidden-xs) {
display: table-cell!important;
display: table-cell !important;
width: 25%;
a {

View File

@ -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;
}
}

View File

@ -1,7 +1,7 @@
.js-pipeline-schedule-form {
.dropdown-select,
.dropdown-menu-toggle {
width: 100%!important;
width: 100% !important;
}
.gl-field-error {

View File

@ -37,7 +37,7 @@ ul.notes-form,
.issuable-details .content-block-small,
.edit-link,
.note-action-button {
display: none!important;
display: none !important;
}
pre {

View File

@ -0,0 +1,4 @@
---
title: Enable BangFormat in scss-lint [ci skip]
merge_request: 12815
author: Takuya Noguchi