It seems not possible to lint .ts and .tsx files using ESLintProcessor:
@Override
public FileFilter getReviewFileFilter() {
return new JavaScriptFilter();
}
As JavaScriptFilter is hard-coded to only include .js files.
I'm considering adding this. An option would be to add eg. GeneralOption.ADDITIONAL_ESLINT_FILE_FILTERS, where we can specify additional extensions. These then can get passed through to new JavaScriptFilter(...).
It seems not possible to lint
.ts
and.tsx
files usingESLintProcessor
:As
JavaScriptFilter
is hard-coded to only include.js
files.I'm considering adding this. An option would be to add eg.
GeneralOption.ADDITIONAL_ESLINT_FILE_FILTERS
, where we can specify additional extensions. These then can get passed through tonew JavaScriptFilter(...)
.