-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No lint results
with .tsx files (Refined GitHub)
#26
Comments
Using the "linters": {
"xo": {
"selector": "source.tsx, meta.import.tsx, keyword.control.import.tsx"
}
}
} Sorry for the noise. |
This is a valid issue. I added support for TSX in bbe02a9, but it seems like it still doesn't work because of SublimeLinter-contrib-xo/linter.py Line 55 in bbe02a9
When I comment that out, linting works. It seems the project root detection is faulty. // @kaste |
I left a comment on the commit. |
Yeah, I reverted that commit. |
Just reverted? Shouldn't this line read
|
Yup, but there's still the issue of SublimeLinter-contrib-xo/linter.py Line 55 in bbe02a9
|
Yeah, could be, but then |
Greetings
I've been trying to make the plugin work with Refined GitHub's .tsx files without success.
First of all, according to this repo, in here it says:
and
Also, according to the xo repo, in there it says:
Here is what I have tried:
Regarding Refined GitHub I did:
NOTE:
xo
is contained in Refined GitHub package.json'sdevDependencies
, and so it's installed locally in thenpm install
step (i.e. besides my global installation of xo)Then I installed locally the TypeScript ESLint Parser via
npm i --save-dev typescript @typescript-eslint/parser
finally I added the following to the
.xo-config.json
(located inside therefined-github
folder) :Unfortunately, no errors are highlighted in any tsx file - I only get
No lint results
in SublimeLinter' output, e.g.:My configuration:
Thank you
The text was updated successfully, but these errors were encountered: