- You already have package control installed, right?
npm install -g jsxhint
- Install the following packages: JSX, SublimeLinter, SublimeLinter-jshint, SublimeLinter-jsxhint, SublimeLinter-json
- Make sure you're opening JSX files with the JavaScript (JSX) type
- If not, open a JSX file, at the bottom right corner of the window, click on the filetype, "Open all with current extension as:" "JavaScript (JSX)"
- Edit your SublimeLinter user preferences and replace everything with this
- Customize settings to your preferences