Skip to content

Commit

Permalink
linting: speed up with new config
Browse files Browse the repository at this point in the history
typescript-eslint/typescript-eslint#3528

Cuts the run of linting from 68s to 44s on my local machine
with `yarn lint` at the root of the repo
  • Loading branch information
tynes committed Mar 7, 2022
1 parent 51a527b commit 127ea3c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = {
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
allowAutomaticSingleRunInference: true,
},
rules: {
'@typescript-eslint/adjacent-overload-signatures': 'error',
Expand Down Expand Up @@ -102,13 +103,9 @@ module.exports = {
'import/no-extraneous-dependencies': ['error'],
'import/no-internal-modules': 'off',
'import/order': [
"error",
'error',
{
groups: [
'builtin',
'external',
'internal',
],
groups: ['builtin', 'external', 'internal'],
'newlines-between': 'always',
},
],
Expand Down

0 comments on commit 127ea3c

Please sign in to comment.