fix: Eslint jison linting

This commit is contained in:
Sidharth Vinod
2024-06-29 16:31:19 +05:30
parent 4c6e2783b0
commit 195e314c42
4 changed files with 4 additions and 17 deletions

View File

@@ -6,8 +6,9 @@ import { ESLint } from 'eslint';
import jison from 'jison';
const linter = new ESLint({
overrideConfig: { rules: { 'no-console': 'error' }, parser: '@typescript-eslint/parser' },
useEslintrc: false,
// @ts-expect-error ESLint types are incorrect
overrideConfigFile: true,
overrideConfig: { rules: { 'no-console': 'error' } },
});
const lint = async (file: string): Promise<boolean> => {