Commit 127ea3c7 authored by Mark Tyneway's avatar Mark Tyneway

linting: speed up with new config

https://github.com/typescript-eslint/typescript-eslint/issues/3528

Cuts the run of linting from 68s to 44s on my local machine
with `yarn lint` at the root of the repo
parent 51a527b8
...@@ -27,6 +27,7 @@ module.exports = { ...@@ -27,6 +27,7 @@ module.exports = {
parserOptions: { parserOptions: {
project: 'tsconfig.json', project: 'tsconfig.json',
sourceType: 'module', sourceType: 'module',
allowAutomaticSingleRunInference: true,
}, },
rules: { rules: {
'@typescript-eslint/adjacent-overload-signatures': 'error', '@typescript-eslint/adjacent-overload-signatures': 'error',
...@@ -102,13 +103,9 @@ module.exports = { ...@@ -102,13 +103,9 @@ module.exports = {
'import/no-extraneous-dependencies': ['error'], 'import/no-extraneous-dependencies': ['error'],
'import/no-internal-modules': 'off', 'import/no-internal-modules': 'off',
'import/order': [ 'import/order': [
"error", 'error',
{ {
groups: [ groups: ['builtin', 'external', 'internal'],
'builtin',
'external',
'internal',
],
'newlines-between': 'always', 'newlines-between': 'always',
}, },
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment