Skip to content

Commit

Permalink
Disable stylelint rules for external copied and generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrienvh committed Jul 9, 2021
1 parent 1f316ef commit 2110688
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "stylelint-config-standard",
"rules": {
"at-rule-no-unknown": null
"at-rule-no-unknown": null,
"no-descending-specificity": null
}
}
2 changes: 2 additions & 0 deletions src/sass/_bootstrap-variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* stylelint-disable max-empty-lines */

// Variables
//
// Variables should follow the `$component-state-property-size` formula for
Expand Down
2 changes: 2 additions & 0 deletions src/sass/base/_iconfont-template.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* stylelint-disable */

@font-face {
font-family: "<%= fontName %>";
src: url('<%= fontPath %><%= fontName %>.eot');
Expand Down
2 changes: 2 additions & 0 deletions src/sass/base/_icons.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* stylelint-disable */

*[class*=icon-]:before {
@extend .icon;
}

0 comments on commit 2110688

Please sign in to comment.