module.exports = { extends: ['eslint:recommended'], ignorePatterns: ['lib'], env: { node: true, }, overrides: [ { files: ['**/*.ts'], plugins: ['@typescript-eslint'], parser: '@typescript-eslint/parser', parserOptions: { project: ['./tsconfig.json'], }, }, ], rules: { 'no-unused-vars': 'off', 'no-constant-condition': ['error', { checkLoops: false }], }, }