Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
17 lines
503 B
JavaScript
17 lines
503 B
JavaScript
import js from '@eslint/js';
|
|
import ts from 'typescript-eslint';
|
|
|
|
export default ts.config(
|
|
{ ignores: ['dist/', 'node_modules/'] },
|
|
js.configs.recommended,
|
|
...ts.configs.recommended,
|
|
{
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'@typescript-eslint/consistent-type-imports': 'error',
|
|
'no-console': ['warn', { allow: ['error', 'warn'] }],
|
|
},
|
|
},
|
|
);
|