Make suggested updates
This commit is contained in:
parent
c661bff7af
commit
152d6967bc
|
@ -9,9 +9,12 @@ module.exports = class Prettier extends Beautifier
|
|||
options: {
|
||||
_:
|
||||
tabWidth: "indent_size"
|
||||
useTabs: "indent_with_tabs"
|
||||
useTabs: ["indent_with_tabs", "indent_char", (indent_with_tabs, indent_char) ->
|
||||
return (indent_with_tabs is true) or (indent_char is "\t")
|
||||
]
|
||||
JavaScript:
|
||||
bracketSpacing: "bracket_spacing"
|
||||
bracketSpacing: "object_curly_spacing"
|
||||
TypeScript: false
|
||||
CSS: false
|
||||
LESS: false
|
||||
SCSS: false
|
||||
|
|
|
@ -108,7 +108,7 @@ module.exports = {
|
|||
default: "System Default"
|
||||
enum: ["CRLF","LF","System Default"]
|
||||
description: "Override EOL from line-ending-selector"
|
||||
bracket_spacing:
|
||||
object_curly_spacing:
|
||||
type: 'boolean'
|
||||
default: false
|
||||
description: "Insert spaces between brackets in object literals"
|
||||
|
|
Loading…
Reference in New Issue