generated from nhcarrigan/template
21 lines
454 B
JavaScript
21 lines
454 B
JavaScript
import nhcarrigan from '@nhcarrigan/eslint-config';
|
|
import { fileURLToPath } from 'url';
|
|
import { dirname } from 'path';
|
|
|
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
|
|
export default [
|
|
...nhcarrigan,
|
|
{
|
|
ignores: ['**/dist', '**/out-tsc', 'node_modules'],
|
|
},
|
|
{
|
|
files: ['**/*.ts'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
project: './tsconfig.lib.json',
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
},
|
|
},
|
|
]; |