Skip to content

Commit

Permalink
fix!: fix an issue with typescript projects
Browse files Browse the repository at this point in the history
  • Loading branch information
mbunge committed Jul 29, 2021
1 parent 07a88c2 commit 654f23b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configs/eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports = {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
// This fixes an issue with typescript projects
// see: https://stackoverflow.com/questions/63118405/how-to-fix-eslintrc-the-file-does-not-match-your-project-config
ignorePatterns: ['.eslintrc.js'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2019,
Expand All @@ -21,7 +24,6 @@ module.exports = {
},
plugins: ['@typescript-eslint'],
rules: {
indent: ['error', 2],
'max-len': 'off',
'consistent-return': 0,
complexity: ['error', 5],
Expand Down

0 comments on commit 654f23b

Please sign in to comment.