Skip to content

Commit

Permalink
fix(eslint): fix eslint "Cannot read property 'loc' of undefined"
Browse files Browse the repository at this point in the history
  • Loading branch information
enylin committed Aug 21, 2021
1 parent 4abeacc commit 4daef7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ module.exports = {
},
plugins: ['@typescript-eslint', 'simple-import-sort'],
rules: {
indent: ['error', 2],
indent: 'off',
'@typescript-eslint/indent': ['error', 2],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'never']
Expand Down

0 comments on commit 4daef7a

Please sign in to comment.