Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
fix(eslintrc): remove createDefaultProgram
Browse files Browse the repository at this point in the history
  • Loading branch information
matteovivona committed Mar 6, 2020
1 parent 96dd263 commit 8c826d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
ignorePatterns: ['bin'],
ignorePatterns: ['bin', 'commitlint.config.js'],
extends: [
'plugin:@typescript-eslint/recommended',
'prettier',
Expand All @@ -8,10 +8,8 @@ module.exports = {
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
project: ['./tsconfig.json', './test/tsconfig.json', './src/db/tsconfig.json'],
tsconfigRootDir: './',
// TODO: we need this because of an issue with @typescript-eslint/parser: https://github.com/typescript-eslint/typescript-eslint/issues/864
createDefaultProgram: true,
},
plugins: ['@typescript-eslint', 'prettier'],
rules: {
Expand Down

0 comments on commit 8c826d9

Please # to comment.