-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
226 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ node_modules | |
*.vsix | ||
.vscodeignore | ||
typings | ||
.vscode | ||
.vscode | ||
.jshintrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
{ | ||
"title": "JSON schema for beautifyrc", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"properties": { | ||
"indent_size": { | ||
"description": "Indent size. [JS,CSS,HTML]", | ||
"type": "integer", | ||
"default": 4 | ||
}, | ||
"indent_char": { | ||
"description": "Indentation character. [JS,CSS,HTML]", | ||
"type": "string", | ||
"default": " ", | ||
"maxLength": 1 | ||
}, | ||
"indent_with_tabs": { | ||
"description": "Indent with tabs, overrides 'indent_size' and 'indent_char' [JS,CSS,HTML]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"eol": { | ||
"description": "Character(s) to use as line terminators. [JS,CSS,HTML]", | ||
"type": "string", | ||
"default": "\\n" | ||
}, | ||
"preserve_newlines": { | ||
"description": "Preserve line-breaks. [JS,HTML]", | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"max_preserve_newlines": { | ||
"description": "Number of line-breaks to be preserved in one chunk. [JS,HTML]", | ||
"type": "integer", | ||
"default": 10 | ||
}, | ||
"indent_level": { | ||
"description": "Initial indentation level. [JS]", | ||
"type": "integer", | ||
"default": 0 | ||
}, | ||
"space_in_paren": { | ||
"description": "Add padding spaces within parentheses, ie. f( a, b ). [JS]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"jslint_happy": { | ||
"description": "Enable jslint-stricter mode. (Forces 'space_after_anon_function') [JS]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"space_after_anon_function": { | ||
"description": "Add a space before an anonymous function's parens, ie. function (). [JS]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"brace_style": { | ||
"description": "[collapse|expand|end-expand|none] [JS,HTML]", | ||
"type": "string", | ||
"default": "collapse", | ||
"enum": [ | ||
"collapse", "expand", "end-expand", "none" | ||
] | ||
}, | ||
"break_chained_methods": { | ||
"description": "Break chained method calls across subsequent lines. [JS]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"keep_array_indentation": { | ||
"description": "Preserve array indentation. [JS]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"keep_function_indentation": { | ||
"description": "Preserve function indentation. [JS]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"space_before_conditional": { | ||
"description": "Ensure a space before conditional statement. [JS]", | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
"unescape_strings": { | ||
"description": "Decode printable characters encoded in xNN notation. [JS]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"wrap_line_length": { | ||
"description": "Wrap lines at next opportunity after N characters. [JS,HTML]", | ||
"type": "integer", | ||
"default": 0 | ||
}, | ||
"wrap_attributes": { | ||
"description": "Wrap attributes to new lines. [HTML]", | ||
"type": "string", | ||
"default": "auto", | ||
"enum": [ | ||
"auto", "force" | ||
] | ||
}, | ||
"wrap_attributes_indent_size": { | ||
"description": "Indent wrapped attributes to after N characters. Defaults to 'indent_size'. [HTML]", | ||
"type": "number" | ||
}, | ||
"end_with_newline": { | ||
"description": "Ensure newline at end of file. [JS,HTML]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"indent_inner_html": { | ||
"description": "Indent <head> and <body> sections. [HTML]", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"indent_scripts": { | ||
"description": "[keep|separate|normal] [HTML]", | ||
"type": "string", | ||
"default": "normal", | ||
"enum": [ | ||
"keep", "separate", "normal" | ||
] | ||
}, | ||
"unformatted": { | ||
"description": "List of tags that should not be reformatted. [HTML]", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"default": ["inline"] | ||
}, | ||
"extra_liners":{ | ||
"description": "List of tags that should have an extra newline before them. [HTML]", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"default": ["head","body","/html"] | ||
}, | ||
"comma_first":{ | ||
"description": "Put commas at the beginning of new line instead of end. [JS]", | ||
"type":"boolean", | ||
"default": false | ||
}, | ||
"e4x":{ | ||
"description": "Pass E4X xml literals through untouched. [JS]", | ||
"type":"boolean", | ||
"default":false | ||
}, | ||
"newline_between_rules":{ | ||
"description": "Add a newline between CSS rules. [CSS]", | ||
"type":"boolean", | ||
"default": false | ||
}, | ||
"selector_separator_newline":{ | ||
"description": "Add a newline between multiple selectors. [CSS]", | ||
"type":"boolean", | ||
"default": true | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.