Enable ImportPath in scss-lint
This commit is contained in:
parent
420f6b5474
commit
2f7a399c73
4 changed files with 50 additions and 46 deletions
|
@ -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: false
|
enabled: true
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
|
@ -42,4 +42,4 @@
|
||||||
/*
|
/*
|
||||||
* Styles for JS behaviors.
|
* Styles for JS behaviors.
|
||||||
*/
|
*/
|
||||||
@import "behaviors.scss";
|
@import "behaviors";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
4
changelogs/unreleased/enable-scss-lint-import-path.yml
Normal file
4
changelogs/unreleased/enable-scss-lint-import-path.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Enable ImportPath in scss-lint
|
||||||
|
merge_request: 12749
|
||||||
|
author: Takuya Noguchi
|
Loading…
Reference in a new issue