Skip to content
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

Not Linting JSX #31

Open
Mafooch opened this issue Sep 26, 2017 · 4 comments
Open

Not Linting JSX #31

Mafooch opened this issue Sep 26, 2017 · 4 comments

Comments

@Mafooch
Copy link

Mafooch commented Sep 26, 2017

I have sublime 3, the sublime linter, and the standard style guide installed of course. The linter works just fine on regular js files but, while I can successfully run the standard package against jsx files in the command line, this standard sublime linter doesn't seem to pick any of them up. I updated my user settings for it to include jsx: "extensions": ["js", "jsx"]. However, it's still not working.

@scalebig
Copy link

I had the same problem... Is it a config issue? I added JSX to the extensions and updated the selector to avoid another issue... I see standard's output in the console, but the not being represented in the current ST buffer window.

@Flet
Copy link
Owner

Flet commented May 24, 2018

Sorry I won't be able to dig into this myself. Feel free to dive in! I will happily add folks as contributors/owners of this repo who contribute fixes.

@LitoMore
Copy link

I will take some time to solve this issue, but I have no idea when finishing it.

@dvilchez
Copy link

I have fixed the problem including these settings to the sublimelinter configuration:

"linters": {
        "standard":
        {
            "selector": "source.js, source.jsx"

        },
    }

more info http://www.sublimelinter.com/en/stable/linter_settings.html#selector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants