diff --git a/src/ruleLoader.ts b/src/ruleLoader.ts index ee45cfebad8..ccd3d3b78cf 100644 --- a/src/ruleLoader.ts +++ b/src/ruleLoader.ts @@ -76,7 +76,8 @@ export function loadRules(ruleOptionsList: IOptions[], showWarningOnce(warning); } if (rules.length === 0) { - showWarningOnce("No valid rules have been specified"); + const fileType = isJs ? "JavaScript" : "TypeScript"; + showWarningOnce(`No valid rules have been specified for ${fileType} files`); } return rules; }