indexer icon indicating copy to clipboard operation
indexer copied to clipboard

Use recommended type-checked eslint

Open tilacog opened this issue 2 years ago • 1 comments

Proposal for using the recommended-type-checked @typescript-eslint plugin, which is the suggested configuration for typescript projects.

Additionally:

  • Type-check all test files.
  • Adds the typescript-eslint-language-server as a development dependency for agnostic integration with editors and IDEs.

This PR will trigger many linter errors, and CI won't pass until we resolve them or adjust the error handling (either ignore or turn them into warnings).

Reference: https://typescript-eslint.io/linting/configs/#recommended-type-checked

tilacog avatar Aug 25 '23 23:08 tilacog

One possible approach would be to enable all lints as warnings (not errors) and gradually fix each category, then promote that category (now corrected) to errors.

tilacog avatar Aug 28 '23 18:08 tilacog

Old and unclear, closing

fordN avatar Jun 28 '24 15:06 fordN