Skip to content

Instantly share code, notes, and snippets.

@MarkGalloway
Last active April 28, 2017 16:54
Show Gist options
  • Select an option

  • Save MarkGalloway/0ec8f0d26e83ff3b086f93e8ca3b1232 to your computer and use it in GitHub Desktop.

Select an option

Save MarkGalloway/0ec8f0d26e83ff3b086f93e8ca3b1232 to your computer and use it in GitHub Desktop.
Sublime setup for Javascript/React

Setting up Sublime for React development

General Sublime

Syntax Highlighting

Error/Linting highlighting

{
   // ...
 "syntax_map": {
   "javascript (babel)": "javascript"
 }
}

Create React App specific config

  • extend CRA esling in package.json
{
  // ...
  "eslintConfig": {
    "extends": "react-app"
  }
}
npm install -g [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment