19 lines
353 B
JavaScript
19 lines
353 B
JavaScript
import eslint from '@eslint/js';
|
|||
|
|
import tseslint from 'typescript-eslint';
|
||
|
|
import globals from 'globals';
|
||
|
|
|
||
|
|
export default tseslint.config(
|
||
|
|
{
|
||
|
|
ignores: ['node_modules/', 'dist/', '.git/'],
|
||
|
|
},
|
||
|
|
eslint.configs.recommended,
|
||
|
|
tseslint.configs.recommended,
|
||
|
|
{
|
||
|
|
languageOptions: {
|
||
|
|
globals: {
|
||
|
|
...globals.node,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
);
|