Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@grgur
Created July 16, 2012 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grgur/3121761 to your computer and use it in GitHub Desktop.
Save grgur/3121761 to your computer and use it in GitHub Desktop.
IntelliJ IDEA/WebStorm/AnyOtherStorm code style
Code Style -> JavaScript -> Spaces
All default +
√ Before parentheses -> Function declaration parentheses
Code Style -> JavaScript -> Other
Align object properties: On colon
Code Style -> CSS -> Other
Align values: On colon
JavaScript -> Code Quality Tools -> JSLint
√ Enable
√ Assume console, alert…
√ Asume browser
√ Tolerate ES5 Syntax (for mobile)
√ Tolerate missing 'use strict' pragma (EXT JS is not compatible with this)
Predefined: Ext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment