jwt-decode icon indicating copy to clipboard operation
jwt-decode copied to clipboard

Upgrade linting tooling to latest version

Open jonkoops opened this issue 3 months ago • 1 comments

By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Upgrades the linting tooling (ESLint, Prettier, publint), and fixes the resulting warnings/errors. The ESlint configuration has been migrated to the new 'flat' configuration format required by ESLint v9. ESLint is now also separated from Prettier into different scripts, as recommended by the Prettier documentation on linter integration.

Prettier will now format all types of files known to it, and not just the

References

  • https://eslint.org/docs/latest/
  • https://typescript-eslint.io/getting-started/
  • https://prettier.io/docs/integrating-with-linters
  • https://prettier.io/docs/precommit
  • https://github.com/lint-staged/lint-staged?tab=readme-ov-file#automatically-fix-code-style-with-prettier-for-any-format-prettier-supports

jonkoops avatar Sep 10 '25 14:09 jonkoops