javascript icon indicating copy to clipboard operation
javascript copied to clipboard

Add support for TypeScript usage with typescript-eslint-parser

Open kripod opened this issue 7 years ago • 1 comments

Using typescript-eslint-parser, ESLint configurations can be enforced on TypeScript files.

Modifying .js,.jsx to .js,.jsx,.ts,.tsx in the following files would fix most of the issues with TypeScript integration:

  • https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb/rules/react.js
  • https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/imports.js

kripod avatar Sep 21 '18 09:09 kripod

You can overwrite those yourself; at this time we’re not going to make that change here.

ljharb avatar Sep 21 '18 15:09 ljharb