Skip to content

Commit

Permalink
fix: use the .eslintrc as configType for the Linter class
Browse files Browse the repository at this point in the history
  • Loading branch information
JivusAyrus committed Jan 30, 2025
1 parent 7980725 commit ffecb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controlplane/src/core/services/SchemaLinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { LintIssueResult, LintRules, RulesConfig, SchemaLintDTO, SchemaLintIssue
export default class SchemaLinter {
linter: Linter;
constructor() {
this.linter = new Linter();
this.linter = new Linter({ configType: 'eslintrc' });
}

getRuleModule = (rule: LintRuleEnum) => {
Expand Down

0 comments on commit ffecb93

Please # to comment.