mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 06:38:07 +02:00
Replace eslint-plugin-sort-exports
by eslint-plugin-perfectionist
The `eslint-plugin-sort-exports` plugin doesn't support ESLint 9 or has published plans to do so. The `eslint-plugin-perfectionist` does support ESLint 9 [1], seems more actively maintained [2, 3] and contains other rules that could be interesting later on [4]. Note that both plugins behave the same, except for two cases which are updated here. [1] https://github.com/azat-io/eslint-plugin-perfectionist/issues/154 [2] https://github.com/azat-io/eslint-plugin-perfectionist/commits/main [3] https://www.npmjs.com/package/eslint-plugin-perfectionist?activeTab=versions [4] https://perfectionist.dev/rules
This commit is contained in:
parent
f9659f4635
commit
347f155ebc
5 changed files with 244 additions and 158 deletions
|
@ -20,8 +20,8 @@
|
|||
"eslint-plugin-jasmine": "^4.2.2",
|
||||
"eslint-plugin-json": "^3.1.0",
|
||||
"eslint-plugin-no-unsanitized": "^4.1.2",
|
||||
"eslint-plugin-perfectionist": "^3.9.1",
|
||||
"eslint-plugin-prettier": "^5.2.1",
|
||||
"eslint-plugin-sort-exports": "^0.9.1",
|
||||
"eslint-plugin-unicorn": "^56.0.0",
|
||||
"gulp": "^5.0.0",
|
||||
"gulp-cli": "^3.0.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue