-
-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add beautifier config for JS code
In order to have an automated workflow to style our code, adding now the beautifier settings of webpack.
- Loading branch information
1 parent
34579c7
commit 64c88ea
Showing
1 changed file
with
25 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"js": { | ||
"allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"], | ||
"brace_style": "collapse", | ||
"break_chained_methods": false, | ||
"e4x": true, | ||
"eval_code": false, | ||
"end_with_newline": true, | ||
"indent_char": "\t", | ||
"indent_level": 0, | ||
"indent_size": 1, | ||
"indent_with_tabs": true, | ||
"jslint_happy": false, | ||
"jslint_happy_align_switch_case": true, | ||
"space_after_anon_function": false, | ||
"keep_array_indentation": false, | ||
"keep_function_indentation": false, | ||
"max_preserve_newlines": 2, | ||
"preserve_newlines": true, | ||
"space_before_conditional": false, | ||
"space_in_paren": false, | ||
"unescape_strings": false, | ||
"wrap_line_length": 0 | ||
} | ||
} |