Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
21 lines
458 B
JavaScript
21 lines
458 B
JavaScript
import tsEslintPlugin from '@typescript-eslint/eslint-plugin';
|
|
import tsEslintParser from '@typescript-eslint/parser';
|
|
|
|
export default [
|
|
{
|
|
files: ['src/**/*.ts'],
|
|
languageOptions: {
|
|
parser: tsEslintParser,
|
|
sourceType: 'module',
|
|
ecmaVersion: 'latest',
|
|
},
|
|
plugins: {
|
|
'@typescript-eslint': tsEslintPlugin,
|
|
},
|
|
rules: {
|
|
'no-console': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
},
|
|
},
|
|
];
|