-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf($TypeScript): fully upgrade dependencies and performance
- Loading branch information
1 parent
60bad70
commit 599de1c
Showing
19 changed files
with
926 additions
and
656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# don't ever lint node_modules | ||
node_modules | ||
# don't lint build output (make sure it's set to your correct build folder name) | ||
dist | ||
# don't lint nyc coverage output | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
plugins: [ | ||
'@typescript-eslint', | ||
], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended' | ||
], | ||
env: { | ||
browser: false, | ||
node: true, | ||
es6: true | ||
}, | ||
|
||
rules: { | ||
'space-before-function-paren': [ | ||
2, | ||
'always' | ||
], | ||
|
||
'indent': 'off', | ||
'@typescript-eslint/indent': ['error', 2], | ||
|
||
'@typescript-eslint/member-delimiter-style': ['error', { | ||
multiline: { | ||
delimiter: 'none', | ||
requireLast: false | ||
}, | ||
singleline: { | ||
delimiter: 'semi', | ||
requireLast: false | ||
} | ||
}], | ||
|
||
'semi': 'off', | ||
'@typescript-eslint/semi': ['error', 'never'], | ||
|
||
'@typescript-eslint/no-explicit-any': [0], | ||
|
||
'prefer-const': 2, | ||
'object-curly-spacing': [2, 'always', { objectsInObjects: false }], | ||
'array-bracket-spacing': [2, 'never'], | ||
'no-unused-vars': 'error', | ||
'yoda': 'off' | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.