Skip to content

Commit

Permalink
perf($TypeScript): fully upgrade dependencies and performance
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Aug 26, 2020
1 parent 60bad70 commit 599de1c
Show file tree
Hide file tree
Showing 19 changed files with 926 additions and 656 deletions.
6 changes: 6 additions & 0 deletions .eslintignore
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
48 changes: 48 additions & 0 deletions .eslintrc.js
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'
}
}
7 changes: 0 additions & 7 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/typescript-playground.iml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/vcs.xml

This file was deleted.

Loading

0 comments on commit 599de1c

Please sign in to comment.