Flet / SublimeLinter-contrib-standard

MIT License
71 stars 13 forks source link

Not Linting JSX #31

Open Mafooch opened 7 years ago

Mafooch commented 7 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

dvilchez commented 5 years ago

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