Skip to content

Commit ffecb93

Browse files
committed
fix: use the .eslintrc as configType for the Linter class
1 parent 7980725 commit ffecb93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controlplane/src/core/services/SchemaLinter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { LintIssueResult, LintRules, RulesConfig, SchemaLintDTO, SchemaLintIssue
88
export default class SchemaLinter {
99
linter: Linter;
1010
constructor() {
11-
this.linter = new Linter();
11+
this.linter = new Linter({ configType: 'eslintrc' });
1212
}
1313

1414
getRuleModule = (rule: LintRuleEnum) => {

0 commit comments

Comments
 (0)