mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-29 13:25:40 +08:00
16 lines
541 B
Plaintext
16 lines
541 B
Plaintext
// This is an incomplete TODO list of checks we want to start enforcing
|
|
//
|
|
// The goal is to enable these checks one by one by moving them to .jscs.json along with commits
|
|
// that correct the existing code base issues and make the new check pass.
|
|
|
|
{
|
|
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
|
|
"disallowImplicitTypeConversion": ["string"],
|
|
"disallowMultipleLineBreaks": true,
|
|
"disallowKeywordsOnNewLine": ["else"],
|
|
"validateJSDoc": {
|
|
"checkParamNames": true,
|
|
"requireParamTypes": true
|
|
}
|
|
}
|