Skip to content

Commit

Permalink
fix(linter): Reorganize imports for linter to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
LE DIOURON Kevin committed May 25, 2021
1 parent 0aaa354 commit 0b06d5e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .bundlewatch.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"files": [
{
"path": "./dist/css/boosted-grid.css",
"maxSize": "6.4 kB"
"maxSize": "8.4 kB"
},
{
"path": "./dist/css/boosted-grid.min.css",
"maxSize": "5.75 kB"
"maxSize": "7.6 kB"
},
{
"path": "./dist/css/boosted-reboot.css",
Expand Down
25 changes: 12 additions & 13 deletions scss/boosted-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@
* Copyright 2011-2021 Twitter, Inc.
* Licensed under MIT (https:/twbs/bootstrap/blob/main/LICENSE)
*/

html {
box-sizing: border-box;
}

*,
*::before,
*::after {
box-sizing: inherit;
}

@import "functions";
@import "variables";

Expand All @@ -34,6 +23,18 @@ html {
@import "grid";

@import "utilities";
@import "utilities/api";

html {
box-sizing: border-box;
}

*,
*::before,
*::after {
box-sizing: inherit;
}

// Only use the utilities we need
// stylelint-disable-next-line scss/dollar-variable-default
$utilities: map-get-multiple(
Expand Down Expand Up @@ -73,5 +74,3 @@ $utilities: map-get-multiple(
"padding-start",
)
);

@import "utilities/api";

0 comments on commit 0b06d5e

Please sign in to comment.