22 lines
468 B
JavaScript
22 lines
468 B
JavaScript
import eslint from '@eslint/js';
|
|
import globals from 'globals';
|
|
import prettier from 'eslint-plugin-prettier/recommended';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
prettier,
|
|
{
|
|
ignores: ['node_modules/', 'packages/*/bin/', 'target/'],
|
|
},
|
|
{
|
|
files: ['**/*.{js,ts}'],
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node,
|
|
},
|
|
},
|
|
},
|
|
);
|