This file contains hidden or 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
function sortObject(object) { | |
// object is not defined (empty string, null, zero, undefined) | |
if (!object) { | |
return object | |
} | |
// object is an array | |
if (object instanceof Array) { | |
if (typeof object[0] === 'object') { | |
return object.map(item => sortObject(item)) |
This file contains hidden or 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
{ | |
"rules": { | |
"color-no-invalid-hex": true, | |
"font-family-no-duplicate-names": true, | |
"font-family-no-missing-generic-family-keyword": true, | |
"function-calc-no-unspaced-operator": true, | |
"function-linear-gradient-no-nonstandard-direction": true, | |
"string-no-newline": true, | |
"unit-no-unknown": true, | |
"property-no-unknown": true, |
This file contains hidden or 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
# https://github.com/brigade/scss-lint | |
# https://github.com/brigade/scss-lint/blob/master/lib/scss_lint/linter/README.md | |
scss_files: "**/*.scss" | |
exclude: ["libs/**/*.scss", "node_modules/**/*.scss", "bower_components/**/*.scss"] | |
plugin_directories: [".scss-linters"] | |
# List of gem names to load custom linters from (make sure they are already installed) | |
plugin_gems: [] |
This file contains hidden or 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
# See https://docs.npmjs.com/all#save-prefix | |
save-prefix = ~ | |
# See https://docs.npmjs.com/all#save-exact | |
save-exact = false |
This file contains hidden or 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
{ | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.minimap.enabled": false, | |
"window.zoomLevel": 0, | |
"editor.formatOnPaste": true, | |
"atomKeymap.promptV3Features": true, | |
"window.openFoldersInNewWindow": "on", | |
"csscomb.formatOnSave": true, | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, |
This file contains hidden or 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
root = true | |
[*] | |
charset = utf-8 | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
end_of_line = lf |
This file contains hidden or 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
{ | |
"exclude": [ | |
".git/**", | |
"node_modules/**", | |
"bower_components/**" | |
], | |
"always-semicolon": true, | |
"color-case": "lower", | |
"block-indent": "\t", | |
"color-shorthand": true, |