adyen-web
adyen-web copied to clipboard
v6 - Eslint9 flatconfig
Summary
- Adding support for Eslint flat config
- Eslint now uses the
tsconfig.eslint.json
in order to analyze our code based on our typescript configuration (before it was disabled - that is why I had to fix many files) -
jsx-a11y
rules are now fully enforced
Side notes:
- I fixed couple of eslint issues; others I simply disabled because I didn't want to touch the logic. We can iterate on the disabled ones later to properly enforce the eslint rule
- The linter is disabled when running dev mode (on Storybook and old playground) since
@rollup/plugin-eslint
does not support the eslint9 yet, but the Linter does run before the building process and with your IDE