Skip to content

Commit 2b5b1b7

Browse files
authored
Merge pull request #157 from ImperialCollegeLondon/fix/code-analyzer
fix: Code analyzer
2 parents e7e7b36 + e007cd9 commit 2b5b1b7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

resources/codeAnalyzerConfiguration.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "MAG Lab MATLAB style guidelines",
55
"author": "Michele Facchinelli",
66
"schemaVersion": "1.1.0",
7-
"guidelineVersion": "1.0.0",
7+
"guidelineVersion": "1.0.1",
88

99
// New and Modified Checks
1010
"checks":
@@ -28,7 +28,7 @@
2828
"rule":
2929
{
3030
"template": "variableName",
31-
"variableNames": ["size", "error", "length", "max", "isa", "nargin" , "numel" , "nargout" ,"isequal" , "zeros" , "true" ,"false" ,"fullfile" ,"find", "get"]
31+
"variableNames": ["size", "error", "length", "max", "isa", "nargin", "numel", "nargout", "isequal", "zeros", "true", "false", "fullfile", "find", "get"]
3232
},
3333
"severity": "warning",
3434
"messageText": "Avoid using function names for variables.",
@@ -105,8 +105,7 @@
105105
"casing": "UpperCamelCase"
106106
},
107107
"enumeration": {
108-
"casing": "UpperCamelCase",
109-
"regularExpression": "^([A-Z][a-z0-9]+)$"
108+
"casing": "UpperCamelCase"
110109
},
111110
"variable": {
112111
"casing": ["lowercase", "lowerCamelCase"]

0 commit comments

Comments
 (0)