Commit 2baef395 authored by Takuya Noguchi's avatar Takuya Noguchi

Enable BangFormat in scss-lint

parent 4daa6da5
...@@ -10,7 +10,7 @@ linters: ...@@ -10,7 +10,7 @@ linters:
# Reports when you use improper spacing around ! (the "bang") in !default, # Reports when you use improper spacing around ! (the "bang") in !default,
# !global, !important, and !optional flags. # !global, !important, and !optional flags.
BangFormat: BangFormat:
enabled: false enabled: true
# Whether or not to prefer `border: 0` over `border: none`. # Whether or not to prefer `border: 0` over `border: none`.
BorderZero: BorderZero:
......
...@@ -675,8 +675,8 @@ ...@@ -675,8 +675,8 @@
} }
.pika-single { .pika-single {
position: relative!important; position: relative !important;
top: 0!important; top: 0 !important;
border: 0; border: 0;
box-shadow: none; box-shadow: none;
} }
......
...@@ -330,7 +330,7 @@ header { ...@@ -330,7 +330,7 @@ header {
padding-left: 5px; padding-left: 5px;
.nav > li:not(.hidden-xs) { .nav > li:not(.hidden-xs) {
display: table-cell!important; display: table-cell !important;
width: 25%; width: 25%;
a { a {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
.is-dragging { .is-dragging {
// Important because plugin sets inline CSS // Important because plugin sets inline CSS
opacity: 1!important; opacity: 1 !important;
* { * {
-webkit-user-select: none; -webkit-user-select: none;
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
// !important to make sure no style can override this when dragging // !important to make sure no style can override this when dragging
cursor: -webkit-grabbing!important; cursor: -webkit-grabbing !important;
cursor: grabbing!important; cursor: grabbing !important;
} }
} }
......
.js-pipeline-schedule-form { .js-pipeline-schedule-form {
.dropdown-select, .dropdown-select,
.dropdown-menu-toggle { .dropdown-menu-toggle {
width: 100%!important; width: 100% !important;
} }
.gl-field-error { .gl-field-error {
......
...@@ -37,7 +37,7 @@ ul.notes-form, ...@@ -37,7 +37,7 @@ ul.notes-form,
.issuable-details .content-block-small, .issuable-details .content-block-small,
.edit-link, .edit-link,
.note-action-button { .note-action-button {
display: none!important; display: none !important;
} }
pre { 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