Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions codeAnalyzerConfiguration.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"limit": 4,
"enabled": true
},
// The following checks are disabled by default, but can be enabled

"DAFPV": {
"enabled": false
},
Expand Down Expand Up @@ -51,7 +51,7 @@
"CTCH" : {
"enabled": false
},
"disallow.eval": { // Name of this check can be changed.
"disallow.eval": {
"rule" : {
"template" : "functionCall",
"functionNames" : "eval"
Expand Down Expand Up @@ -82,38 +82,38 @@
},
"naming" : {
"variable": {
"maxLength" : 32, // naming.variable.maxLength
"regularExpression" : "(^[a-z][a-zA-Z0-9]*$)|(^[A-Z][a-z0-9]*$)" // naming.variable.regularExpression
"maxLength" : 32,
"regularExpression" : "(^[a-z][a-zA-Z0-9]*$)|(^[A-Z][a-z0-9]*$)"
},
"class": {
"maxLength" : 32 // naming.class.maxLength
"maxLength" : 32
},
"function": {
"maxLength" : 32, // naming.function.maxLength
"casing": ["lowerCamelCase", "lowercase"] // naming.function.casing
"maxLength" : 32,
"casing": ["lowerCamelCase", "lowercase"]
},
"localFunction": {
"maxLength" : 32, // naming.localFunction.maxLength
"casing": ["lowerCamelCase", "lowercase"] // naming.localFunction.casing
"maxLength" : 32,
"casing": ["lowerCamelCase", "lowercase"]
},
"nestedFunction": {
"maxLength" : 32, // naming.nestedFunction.maxLength
"casing": ["lowerCamelCase", "lowercase"] // naming.nestedFunction.casing
"maxLength" : 32,
"casing": ["lowerCamelCase", "lowercase"]
},
"method": {
"maxLength" : 32, // naming.method.maxLength
"casing": ["lowerCamelCase", "lowercase"] // naming.method.casing
"maxLength" : 32,
"casing": ["lowerCamelCase", "lowercase"]
},
"property": {
"maxLength" : 32, // naming.property.maxLength
"casing": "UpperCamelCase" // naming.property.casing
"maxLength" : 32,
"casing": "UpperCamelCase"
},
"event": {
"maxLength" : 32, // naming.event.maxLength
"casing": "UpperCamelCase" // naming.event.casing
"maxLength" : 32,
"casing": "UpperCamelCase"
},
"enumeration": {
"maxLength" : 32 // naming.enumeration.maxLength
"maxLength" : 32
}
}
}