mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
fix: Eslint jison linting
This commit is contained in:
@@ -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> => {
|
||||
|
Reference in New Issue
Block a user