Browse Source

Final check

David Catuhe 5 years ago
parent
commit
2879cb20bf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Tools/Gulp/helpers/gulp-validateTypedoc.js

+ 2 - 2
Tools/Gulp/helpers/gulp-validateTypedoc.js

@@ -525,8 +525,7 @@ Validate.prototype.validateNaming = function(parent, node) {
     else if (node.kindString == "Interface" ||
     else if (node.kindString == "Interface" ||
         node.kindString == "Class" ||
         node.kindString == "Class" ||
         node.kindString == "Enumeration" ||
         node.kindString == "Enumeration" ||
-        node.kindString == "Enumeration member" ||
-        node.kindString == "Accessor" ||
+        node.kindString == "Enumeration member" ||        
         node.kindString == "Type alias") {
         node.kindString == "Type alias") {
         if (!Validate.pascalCase.test(node.name)) {
         if (!Validate.pascalCase.test(node.name)) {
             this.errorCallback(parent ? parent.name : null,
             this.errorCallback(parent ? parent.name : null,
@@ -539,6 +538,7 @@ Validate.prototype.validateNaming = function(parent, node) {
     }
     }
     else if (node.kindString == "Method" ||
     else if (node.kindString == "Method" ||
         node.kindString == "Property" ||
         node.kindString == "Property" ||
+        node.kindString == "Accessor" ||
         node.kindString == "Object literal") {
         node.kindString == "Object literal") {
 
 
         // Only warn here as special properties such as FOV may be better capitalized 
         // Only warn here as special properties such as FOV may be better capitalized