diff --git a/gh-pages/.editorconfig b/gh-pages/.editorconfig new file mode 100644 index 0000000..e7375ee --- /dev/null +++ b/gh-pages/.editorconfig @@ -0,0 +1,38 @@ +# EditorConfig is awesome: http://EditorConfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 + +end_of_line = lf +charset = utf-8 + +max_line_length = 80 + +trim_trailing_whitespace = true +insert_final_newline = true + +[*.html] +indent_style = space +indent_size = 4 + +[*.{css,scss,less}] +indent_style = space +indent_size = 2 + +[*.js] +indent_style = space +indent_size = 2 + +[*.json] +indent_style = space +indent_size = 2 + +[*.txt] +indent_style = space +indent_size = 4 + +[*.{diff,md}] +trim_trailing_whitespace = false diff --git a/gh-pages/.jsbeautifyrc b/gh-pages/.jsbeautifyrc new file mode 100644 index 0000000..b8b7d57 --- /dev/null +++ b/gh-pages/.jsbeautifyrc @@ -0,0 +1,41 @@ +{ + "editorconfig" : true, + "indent_size" : 2, + "html": { + "indent_size" : 4, + "indent_char" : " ", + "end_with_newline" : true, + "wrap_attributes" : "force-aligned", + "brace_style" : "end-expand", + "unformatted" : ["abbr", "area", "audio", "b", "bdi", "bdo", "br","canvas", "cite", "code", "data", "datalist", "del", "dfn", "em", "embed", "i", "iframe", "img", "ins", "kbd", "keygen", "label", "map", "mark", "math", "meter", "noscript", "object", "output", "progress", "q", "ruby", "s", "samp", "select", "small", "span", "strong", "sub", "sup", "svg", "template", "textarea", "time", "u", "var", "video", "wbr", "text", "acronym", "address", "big", "dt", "ins", "strike", "tt", "link", "meta", "option", "script"], + "beautifiers" : [ + "JS-Beautify" + ], + "js": { + "indent_size": 2 + }, + "css": { + "indent_size": 2 + } + }, + "css": { + "beautifiers" : [ + "Prettier", + "Pretty Diff", + "JS-Beautify" + ], + "align_assignments" : true, + "indent_size" : 2, + "end_with_comma" : true, + "end_with_newline" : true + }, + "JavaScript": { + "indent_size" : 2, + "indent_char" : " ", + "align_assignments" : true, + "preserve-newlines" : true, + "beautifiers" : [ + "Pretty Diff" + ] + } +}