ember-cli-typescript icon indicating copy to clipboard operation
ember-cli-typescript copied to clipboard

Document recommended linting setup

Open dfreeman opened this issue 6 years ago • 2 comments

We should document a recommendation for setting up linting, including things like:

  • Installing and configuring @typescript-eslint/eslint-plugin
  • Updating the lint:js script to ensure it includes the right extensions
  • Configuring popular editors to run ESLint against .ts files

Parts of this can also probably be set up as part of the default blueprint, or a supplemental opt-in one.

dfreeman avatar Mar 27 '19 07:03 dfreeman

Related: #963

dfreeman avatar Nov 22 '19 19:11 dfreeman

What is the status of this? I'm still running into this on a fresh install.

As a new ember/typescript user my editor is very upset and I have no idea why.

sukima avatar Sep 07 '22 00:09 sukima

Recommended linting configuration is now (as of a few versions back in Ember and Ember CLI) built in out of the box via Ember's own blueprints when using --typescript. 🎉

chriskrycho avatar Sep 28 '23 22:09 chriskrycho