autoconsent icon indicating copy to clipboard operation
autoconsent copied to clipboard

Update ESLint configuration

Open seia-soto opened this issue 6 months ago • 2 comments

This PR:

  • migrates eslint configuration to flat config respecting existing setup
  • imports recommended default of prettier and typescript linter configs
  • adds missing types for some files (replaces any)

There's a huge change in lib/consentomatic/tools.ts to support types properly. However, I could not fill all types up in consentomatic part as I lack some knowledge about the library internals. I added an eslint exception for those parts at this time and expect to fix in the future.

seia-soto avatar Jul 31 '24 02:07 seia-soto