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)