Skip to content

Commit

Permalink
fix jscs config
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Nov 4, 2015
1 parent 2d5b8ed commit a635a07
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,16 @@

"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
//"validateLineBreaks": "LF",
"validateLineBreaks": "LF",
"requireLineFeedAtFileEnd": true,

"disallowKeywords": ["with", "eval"],
"requireKeywordsOnNewLine": ["else", "while", "for", "do", "return", "switch", "case", "try", "break"],
"disallowKeywordsOnNewLine": ["catch"],
"requireCapitalizedConstructors": true,

"validateJSDoc": {
//"checkRedundantParams": true,
"checkParamNames": true,
"requireParamTypes": true
},

"excludeFiles": [
"scripts",
"node_modules",
"test/extract/env",
"test/extract/theme-fallback",
"lib/create/template",
"lib/ast/css/parser.js",
"lib/ast/js/parser.js",
"lib/ast/js/translator.js"
"lib/create/template"
]
}

0 comments on commit a635a07

Please sign in to comment.