Skip to content

Commit

Permalink
Add/Modify configs for Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Youngjoon Lee committed Sep 16, 2020
1 parent 8fedfa7 commit 02f5c2c
Show file tree
Hide file tree
Showing 10 changed files with 4,810 additions and 5,795 deletions.
14 changes: 0 additions & 14 deletions .babelrc

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

23 changes: 23 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/no-namespace': 'off',
'no-inner-declarations': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/no-var-requires': 'off',
},
env: {
node: true,
jest: true,
}
};
Empty file removed index.js
Empty file.
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit 02f5c2c

Please sign in to comment.