Skip to content

Commit

Permalink
ci: pin ESLint v9 to v9.14.0 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Nov 17, 2024
1 parent b59744d commit cb7b9c7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/install-eslint-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ if [ "$esv" -eq 8 ]; then
else
npm uninstall -D @types/eslint @types/eslint__js
fi

if [ "$esv" -eq 9 ]; then
# ESLint v9.15.0 added support for meta.defaultOptions in rules, which is great but breaks a few TypeScript rules.
#
# This has been fixed in @typescript-eslint but the fix won't be released until next week
#
# see https://github.com/eslint/eslint/issues/19134 & https://github.com/typescript-eslint/typescript-eslint/issues/10338
npm install -D "eslint@9.14.0"
fi

0 comments on commit cb7b9c7

Please sign in to comment.