Skip to content

Instantly share code, notes, and snippets.

@marcelitocs
Last active July 29, 2020 13:33
Show Gist options
  • Save marcelitocs/73f357272db529c1570b7e6aacf8283a to your computer and use it in GitHub Desktop.
Save marcelitocs/73f357272db529c1570b7e6aacf8283a to your computer and use it in GitHub Desktop.
Webstorm and Nuxt.js
Preferences/Editor/Code Style/HTML -> Tabs and Indent (tab) -> Tab size, Indent, Continuation Indent to 2
Preferences/Editor/Code Style/HTML -> Other (tab) -> Spaces -> In Empty Tag (check this option)
Preferences/Editor/Code Style/HTML -> Other (tab) -> Do not indent children of -> Add script and style
Preferences/Editor/Code Style/Javascript -> Spaces (tab) -> Within -> Object literal braces (check this option)
Preferences/Editor/Code Style/Javascript -> Spaces (tab) -> Within -> ES6 import/export braces (check this option)
Preferences/Editor/Code Style/Javascript -> Spaces (tab) -> Before Parentheses -> Function declaration parentheses (check this option)
Preferences/Javascript & Frameworks -> Javascript -> Code Quality Tools -> ESLint -> Automatic ESLint configuration (check this option)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment