Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
2f7a399c
Commit
2f7a399c
authored
Jul 10, 2017
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable ImportPath in scss-lint
parent
420f6b54
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
46 deletions
+50
-46
.scss-lint.yml
.scss-lint.yml
+1
-1
app/assets/stylesheets/application.scss
app/assets/stylesheets/application.scss
+1
-1
app/assets/stylesheets/framework.scss
app/assets/stylesheets/framework.scss
+44
-44
changelogs/unreleased/enable-scss-lint-import-path.yml
changelogs/unreleased/enable-scss-lint-import-path.yml
+4
-0
No files found.
.scss-lint.yml
View file @
2f7a399c
...
@@ -93,7 +93,7 @@ linters:
...
@@ -93,7 +93,7 @@ linters:
# The basenames of @imported SCSS partials should not begin with an
# The basenames of @imported SCSS partials should not begin with an
# underscore and should not include the filename extension.
# underscore and should not include the filename extension.
ImportPath
:
ImportPath
:
enabled
:
fals
e
enabled
:
tru
e
# Avoid using !important in properties. It is usually indicative of a
# Avoid using !important in properties. It is usually indicative of a
# misunderstanding of CSS specificity and can lead to brittle code.
# misunderstanding of CSS specificity and can lead to brittle code.
...
...
app/assets/stylesheets/application.scss
View file @
2f7a399c
...
@@ -42,4 +42,4 @@
...
@@ -42,4 +42,4 @@
/*
/*
* Styles for JS behaviors.
* Styles for JS behaviors.
*/
*/
@import
"behaviors
.scss
"
;
@import
"behaviors"
;
app/assets/stylesheets/framework.scss
View file @
2f7a399c
...
@@ -4,49 +4,49 @@
...
@@ -4,49 +4,49 @@
@import
'framework/tw_bootstrap'
;
@import
'framework/tw_bootstrap'
;
@import
"framework/layout"
;
@import
"framework/layout"
;
@import
"framework/animations
.scss
"
;
@import
"framework/animations"
;
@import
"framework/avatar
.scss
"
;
@import
"framework/avatar"
;
@import
"framework/asciidoctor
.scss
"
;
@import
"framework/asciidoctor"
;
@import
"framework/blocks
.scss
"
;
@import
"framework/blocks"
;
@import
"framework/buttons
.scss
"
;
@import
"framework/buttons"
;
@import
"framework/badges
.scss
"
;
@import
"framework/badges"
;
@import
"framework/calendar
.scss
"
;
@import
"framework/calendar"
;
@import
"framework/callout
.scss
"
;
@import
"framework/callout"
;
@import
"framework/common
.scss
"
;
@import
"framework/common"
;
@import
"framework/dropdowns
.scss
"
;
@import
"framework/dropdowns"
;
@import
"framework/files
.scss
"
;
@import
"framework/files"
;
@import
"framework/filters
.scss
"
;
@import
"framework/filters"
;
@import
"framework/flash
.scss
"
;
@import
"framework/flash"
;
@import
"framework/forms
.scss
"
;
@import
"framework/forms"
;
@import
"framework/gfm
.scss
"
;
@import
"framework/gfm"
;
@import
"framework/header
.scss
"
;
@import
"framework/header"
;
@import
"framework/highlight
.scss
"
;
@import
"framework/highlight"
;
@import
"framework/issue_box
.scss
"
;
@import
"framework/issue_box"
;
@import
"framework/jquery
.scss
"
;
@import
"framework/jquery"
;
@import
"framework/lists
.scss
"
;
@import
"framework/lists"
;
@import
"framework/logo
.scss
"
;
@import
"framework/logo"
;
@import
"framework/markdown_area
.scss
"
;
@import
"framework/markdown_area"
;
@import
"framework/mobile
.scss
"
;
@import
"framework/mobile"
;
@import
"framework/modal
.scss
"
;
@import
"framework/modal"
;
@import
"framework/nav
.scss
"
;
@import
"framework/nav"
;
@import
"framework/pagination
.scss
"
;
@import
"framework/pagination"
;
@import
"framework/panels
.scss
"
;
@import
"framework/panels"
;
@import
"framework/selects
.scss
"
;
@import
"framework/selects"
;
@import
"framework/sidebar
.scss
"
;
@import
"framework/sidebar"
;
@import
"framework/tables
.scss
"
;
@import
"framework/tables"
;
@import
"framework/notes
.scss
"
;
@import
"framework/notes"
;
@import
"framework/timeline
.scss
"
;
@import
"framework/timeline"
;
@import
"framework/typography
.scss
"
;
@import
"framework/typography"
;
@import
"framework/zen
.scss
"
;
@import
"framework/zen"
;
@import
"framework/blank"
;
@import
"framework/blank"
;
@import
"framework/wells
.scss
"
;
@import
"framework/wells"
;
@import
"framework/page-header
.scss
"
;
@import
"framework/page-header"
;
@import
"framework/awards
.scss
"
;
@import
"framework/awards"
;
@import
"framework/images
.scss
"
;
@import
"framework/images"
;
@import
"framework/broadcast-messages"
;
@import
"framework/broadcast-messages"
;
@import
"framework/emojis
.scss
"
;
@import
"framework/emojis"
;
@import
"framework/emoji-sprites
.scss
"
;
@import
"framework/emoji-sprites"
;
@import
"framework/icons
.scss
"
;
@import
"framework/icons"
;
@import
"framework/snippets
.scss
"
;
@import
"framework/snippets"
;
@import
"framework/memory_graph
.scss
"
;
@import
"framework/memory_graph"
;
@import
"framework/responsive-tables
.scss
"
;
@import
"framework/responsive-tables"
;
changelogs/unreleased/enable-scss-lint-import-path.yml
0 → 100644
View file @
2f7a399c
---
title
:
Enable ImportPath in scss-lint
merge_request
:
12749
author
:
Takuya Noguchi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment