Merge pull request #3258 from sei40kr/tslint-and-eslint-for-tsx

lang/javascript: Enable TSLint and ESLint for TypeScript-TSX
This commit is contained in:
Henrik Lissner 2020-06-07 14:19:13 -04:00 committed by GitHub
commit 912961b46d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 16 deletions

View file

@ -14,10 +14,6 @@
:mode "\\.jinja2?\\'"
:mode "wp-content/themes/.+/.+\\.php\\'"
:mode "templates/.+\\.php\\'"
;; REVIEW We associate TSX files with `web-mode' because `typescript-mode'
;; does not officially support JSX/TSX. See
;; https://github.com/emacs-typescript/typescript.el/issues/4
:mode "\\.tsx\\'"
:init
;; If the user has installed `vue-mode' then, by appending this to
;; `auto-mode-alist' rather than prepending it, its autoload will have