Replace TSLint with ESLint and Prettier by lucas-koehler · Pull Request #2112 · eclipsesource/jsonforms

sdirix

sdirix

@lucas-koehler

- Remove TSLint dependencies and config
- Add ESLint and Prettier dependencies and config for all packages
- Add markdownlint to recommended extensions
- Use ESLint 7.x instead of 8.x because the Angular eslint plugin
  for Angular 12 does not work with ESLint 8.x

Disabled rules for to be re-enabled later:
- explicit any warnings
- no-prototype-builtins rule
- import/no-named-as-default for 2 packages
  - vanilla-renderers
  - material-renderers

Part of eclipsesource#1551

@lucas-koehler

@lucas-koehler

Fix remaining ESLint issues with these exceptions that will be handled in a follow up
- import/no-named-as-default in vanilla-renderers, material-renderers
- no-prototype-builtins
- @typescript-eslint/no-explicit-any
- typescript-eslint/ban-types

Part of eclipsesource#1551

@lucas-koehler

@lucas-koehler lucas-koehler changed the title Draft: Replace TSLint with ESLint and Prettier Replace TSLint with ESLint and Prettier

Apr 21, 2023