From 930cdde0313389c6720d706ba380922b94a8a06d Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 2 Oct 2019 16:40:17 -0700 Subject: [PATCH 1/3] whitespace --- plugins/lib/variable-rules.js | 92 +++++++++++++++++------------------ 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/plugins/lib/variable-rules.js b/plugins/lib/variable-rules.js index 48cde2c3..3b70d74a 100644 --- a/plugins/lib/variable-rules.js +++ b/plugins/lib/variable-rules.js @@ -22,35 +22,35 @@ module.exports = { white: '$bg-white' }, reverseAssignments(` - $bg-blue-light: $blue-000 !default; - $bg-blue: $blue-500 !default; - $bg-gray-dark: $gray-900 !default; - $bg-gray-light: $gray-000 !default; - $bg-gray: $gray-100 !default; - $bg-green: $green-500 !default; - $bg-green-light: $green-100 !default; - $bg-orange: $orange-700 !default; - $bg-purple: $purple-500 !default; - $bg-purple-light: $purple-000 !default; - $bg-pink: $pink-500 !default; - $bg-red: $red-500 !default; - $bg-red-light: $red-100 !default; - $bg-white: $white !default; - $bg-yellow: $yellow-500 !default; - $bg-yellow-light: $yellow-200 !default; - $bg-yellow-dark: $yellow-700 !default; + $bg-blue-light: $blue-000 !default; + $bg-blue: $blue-500 !default; + $bg-gray-dark: $gray-900 !default; + $bg-gray-light: $gray-000 !default; + $bg-gray: $gray-100 !default; + $bg-green: $green-500 !default; + $bg-green-light: $green-100 !default; + $bg-orange: $orange-700 !default; + $bg-purple: $purple-500 !default; + $bg-purple-light: $purple-000 !default; + $bg-pink: $pink-500 !default; + $bg-red: $red-500 !default; + $bg-red-light: $red-100 !default; + $bg-white: $white !default; + $bg-yellow: $yellow-500 !default; + $bg-yellow-light: $yellow-200 !default; + $bg-yellow-dark: $yellow-700 !default; - $black-fade-15: rgba($black, 0.15) !default; - $black-fade-30: rgba($black, 0.3) !default; - $black-fade-50: rgba($black, 0.5) !default; - $black-fade-70: rgba($black, 0.7) !default; - $black-fade-85: rgba($black, 0.85) !default; - $white-fade-15: rgba($white, 0.15) !default; - $white-fade-30: rgba($white, 0.3) !default; - $white-fade-50: rgba($white, 0.5) !default; - $white-fade-70: rgba($white, 0.7) !default; - $white-fade-85: rgba($white, 0.85) !default; - `) + $black-fade-15: rgba($black, 0.15) !default; + $black-fade-30: rgba($black, 0.3) !default; + $black-fade-50: rgba($black, 0.5) !default; + $black-fade-70: rgba($black, 0.7) !default; + $black-fade-85: rgba($black, 0.85) !default; + $white-fade-15: rgba($white, 0.15) !default; + $white-fade-30: rgba($white, 0.3) !default; + $white-fade-50: rgba($white, 0.5) !default; + $white-fade-70: rgba($white, 0.7) !default; + $white-fade-85: rgba($white, 0.85) !default; + `) ) }, border: { @@ -129,19 +129,19 @@ module.exports = { black: '$text-gray-dark' }, reverseAssignments(` - $text-blue: $blue-500 !default; - $text-gray-dark: $gray-900 !default; - $text-gray-light: $gray-500 !default; - $text-gray: $gray-600 !default; - $text-green: $green-500 !default; - $text-orange: $orange-900 !default; - $text-orange-light: $orange-600 !default; - $text-purple: $purple !default; - $text-pink: $pink-500 !default; - $text-red: $red-600 !default; - $text-white: $white !default; - $text-yellow: $yellow-800 !default; - `) + $text-blue: $blue-500 !default; + $text-gray-dark: $gray-900 !default; + $text-gray-light: $gray-500 !default; + $text-gray: $gray-600 !default; + $text-green: $green-500 !default; + $text-orange: $orange-900 !default; + $text-orange-light: $orange-600 !default; + $text-purple: $purple !default; + $text-pink: $pink-500 !default; + $text-red: $red-600 !default; + $text-white: $white !default; + $text-yellow: $yellow-800 !default; + `) ) }, margin: { @@ -179,11 +179,11 @@ module.exports = { normal: '$font-weight-normal' }, reverseAssignments(` - $font-weight-bold: 600 !default; - $font-weight-semibold: 500 !default; - $font-weight-normal: 400 !default; - $font-weight-light: 300 !default; - `) + $font-weight-bold: 600 !default; + $font-weight-semibold: 500 !default; + $font-weight-normal: 400 !default; + $font-weight-light: 300 !default; + `) ) }, 'line-height': { From 0994e38f34607db437a085a7d31083f31d466af9 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 2 Oct 2019 16:42:01 -0700 Subject: [PATCH 2/3] fix: add globby --- package-lock.json | 6 +++--- package.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8c222907..54353c9b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5532,9 +5532,9 @@ } }, "merge2": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.2.3.tgz", - "integrity": "sha512-gdUU1Fwj5ep4kplwcmftruWofEFt6lfpkkr3h860CXbAB9c3hGb55EOL2ali0Td5oebvW0E1+3Sr+Ur7XfKpRA==" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz", + "integrity": "sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==" }, "micromatch": { "version": "3.1.10", diff --git a/package.json b/package.json index 300fedf8..94121565 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "dependencies": { "anymatch": "^3.1.1", "braces": "^3.0.2", + "globby": "^9.2.0", "string.prototype.matchall": "^3.0.1", "stylelint-no-unsupported-browser-features": "^1.0.0", "stylelint-order": "^2.0.0", From c5b3725de8b57c2c5176fb421355b39f3b001822 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Wed, 2 Oct 2019 16:42:36 -0700 Subject: [PATCH 3/3] npm version 8.2.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 54353c9b..a75fe3fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "stylelint-config-primer", - "version": "8.2.0", + "version": "8.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 94121565..64a7be50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stylelint-config-primer", - "version": "8.2.0", + "version": "8.2.1", "description": "Sharable stylelint config used by GitHub's CSS", "homepage": "http://primer.style/css/tools/linting", "author": "GitHub, Inc.",