Skip to content

Commit

Permalink
Update eslint-plugin-mozilla to avoid having to force-install packa…
Browse files Browse the repository at this point in the history
…ges (issue 15429)

The latest version of `eslint-plugin-mozilla` removed the Prettier dependency, see https://bugzilla.mozilla.org/show_bug.cgi?id=1677562, which means that we no longer need to use `npm install --force` in the PDF.js library.
  • Loading branch information
Snuffleupagus committed Apr 20, 2023
1 parent d4e8657 commit 19526d2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2345,7 +2345,7 @@ gulp.task(
opts.cwd = installPath;
distPath = path.relative(installPath, distPath);
}
safeSpawnSync("npm", ["install", "--force", distPath], opts);
safeSpawnSync("npm", ["install", distPath], opts);
done();
})
);
Expand Down
40 changes: 20 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mozilla": "^3.0.1",
"eslint-plugin-mozilla": "^3.1.0",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-sort-exports": "^0.8.0",
Expand Down

0 comments on commit 19526d2

Please sign in to comment.