Parcourir la source

meta: fix linting of `.tsx` files (#4843)

Those should be linted as `.ts` files, except with JSX support.
Antoine du Hamel il y a 1 an
Parent
commit
57e6a7ea0f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .eslintrc.js

+ 1 - 1
.eslintrc.js

@@ -444,7 +444,7 @@ module.exports = {
       },
     },
     {
-      files: ['**/*.ts', '**/*.md/*.ts', '**/*.md/*.typescript'],
+      files: ['**/*.ts', '**/*.md/*.ts', '**/*.md/*.typescript', '**/*.tsx', '**/*.md/*.tsx'],
       excludedFiles: ['examples/angular-example/**/*.ts', 'packages/@uppy/angular/**/*.ts'],
       parser: '@typescript-eslint/parser',
       settings: {