javascript
javascript copied to clipboard
Add support for TypeScript usage with typescript-eslint-parser
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
You can overwrite those yourself; at this time we’re not going to make that change here.