@@ -0,0 +1,1175 @@
+package com.cflint.plugins.core;%0A%0Aimport ro.fortsoft.pf4j.Extension;%0Aimport net.htmlparser.jericho.Element;%0Aimport cfml.parsing.cfscript.CFExpression;%0Aimport cfml.parsing.cfscript.script.CFScriptStatement;%0A%0Aimport com.cflint.BugInfo;%0Aimport com.cflint.BugList;%0Aimport com.cflint.plugins.CFLintScannerAdapter;%0A%0A@Extension%0Apublic class FileCaseChecker extends CFLintScannerAdapter %7B%0A%09final String severity = %22INFO%22;%0A%09%09%0A%09public void startFile(String fileName, BugList bugs) %7B%0A%09%09String actualFileName = fileName;%0A%09%09String separator = System.getProperty(%22file.separator%22);%0A    %09int seperatorPosition = fileName.lastIndexOf(separator);%0A%0A    %09if (seperatorPosition %3E= 0) %7B%0A    %09%09actualFileName = fileName.substring(seperatorPosition + 1);%0A    %09%7D%0A%0A%09%09if (actualFileName.contains(%22.cfm%22)) %7B%0A%09%09%09if (Character.isUpperCase(actualFileName.charAt(0))) %7B%0A%09%09%09%09bugs.add(new BugInfo.BugInfoBuilder().setLine(1).setMessageCode(%22FILE_SHOULD_START_WITH_LOWERCASE%22)%0A%09%09%09%09%09%09.setSeverity(severity).setFilename(fileName)%0A%09%09%09%09%09%09.setMessage(%22File %22 + actualFileName + %22 starts with a upper case letter. Only components (.cfc files) should start with an upper case letter.%22)%0A%09%09%09%09%09%09.build());%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D

Add rule to check if .cfm files start with an upper case letter