Skip to content

Use login.gov shared Stylelint configuration#276

Merged
aduth merged 2 commits intomainfrom
aduth-standard-stylelint-config
Dec 9, 2021
Merged

Use login.gov shared Stylelint configuration#276
aduth merged 2 commits intomainfrom
aduth-standard-stylelint-config

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Dec 9, 2021

Related: 18F/identity-idp#5689

Why: So that we can use a common standard ruleset across all repositories where Sass is used.

Related: 18F/identity-idp#5689

**Why:** So that we can use a common standard ruleset across all repositories where Sass is used.
@aduth aduth requested a review from mitchellhenke December 9, 2021 14:00
const rename = require('gulp-rename');
const gulpif = require('gulp-if');
const sass = require('gulp-sass')(require('sass'));
const gulpStylelint = require('gulp-stylelint');
Copy link
Contributor Author

@aduth aduth Dec 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gulp-stylelint may be abandoned, as it doesn't support the newest major release of Stylelint released early in the year, and the maintainer hasn't been active in related issues (olegskl/gulp-stylelint#132).

In any case, the dependency shifting here removed a lot from the dependency tree (net -1719 lines in package-lock.json), which I'm pretty happy about.

Copy link

@mitchellhenke mitchellhenke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼 👍🏼 👍🏼 👍🏼

@aduth aduth merged commit 0762643 into main Dec 9, 2021
@aduth aduth deleted the aduth-standard-stylelint-config branch December 9, 2021 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants