mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Update Stylelint to the latest version
Trying to update Stylelint to version `15.10.1`, and beyond, broke linting. Looking at the changes the issue appears to be that the `bin/stylelint.js` file was replaced with `bin/stylelint.mjs` instead, which our `gulp lint` runner wasn't able to automatically find; see https://github.com/stylelint/stylelint/compare/15.10.0...15.10.1
This commit is contained in:
parent
6d783d2722
commit
198f89ffce
3 changed files with 240 additions and 59 deletions
|
@ -1962,7 +1962,7 @@ gulp.task("lint", function (done) {
|
|||
}
|
||||
|
||||
const styleLintOptions = [
|
||||
"node_modules/stylelint/bin/stylelint",
|
||||
"node_modules/stylelint/bin/stylelint.mjs",
|
||||
"**/*.css",
|
||||
"--report-needless-disables",
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue