Skip to content

Commit

Permalink
Use .jscsrcfrom medium-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Aug 11, 2015
1 parent 450cbee commit a162661
Show file tree
Hide file tree
Showing 22 changed files with 842 additions and 820 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ root = true
end_of_line = lf
insert_final_newline = false
indent_style = space
indent_size = 2
indent_size = 4
20 changes: 18 additions & 2 deletions .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"disallowMultipleLineBreaks": true,
"disallowMultipleLineStrings": true,
"disallowMultipleSpaces": true,
"disallowMultipleVarDecl": true,
"disallowNewlineBeforeBlockStatements": true,
"disallowSpaceAfterPrefixUnaryOperators": [
"++",
Expand Down Expand Up @@ -45,6 +44,7 @@
"catch"
],
"requireLineBreakAfterVariableAssignment": true,
"requireMultipleVarDecl": true,
"requireOperatorBeforeLineBreak": [
"?",
"=",
Expand Down Expand Up @@ -74,6 +74,22 @@
"!=",
"!=="
],
"requireSpaceAfterKeywords": [
"do",
"for",
"if",
"else",
"switch",
"case",
"try",
"catch",
"void",
"while",
"with",
"return",
"typeof",
"function"
],
"requireSpaceBeforeBinaryOperators": [
"=",
"+",
Expand Down Expand Up @@ -112,7 +128,7 @@
"requireSpacesInsideObjectBrackets": {
"allExcept": [ "}", ")" ]
},
"validateIndentation": 2,
"validateIndentation": 4,
"validateParameterSeparator": ", ",
"validateQuoteMarks": "'"
}
18 changes: 9 additions & 9 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ global.jsSourceFiles = [
];

module.exports = function (grunt) {
require('load-grunt-config')(grunt, {
loadGruntTasks: {
pattern: [
'grunt-*',
'!grunt-template-jasmine-istanbul'
]
}
});
require('time-grunt')(grunt);
require('load-grunt-config')(grunt, {
loadGruntTasks: {
pattern: [
'grunt-*',
'!grunt-template-jasmine-istanbul'
]
}
});
require('time-grunt')(grunt);
};
Loading

0 comments on commit a162661

Please sign in to comment.