Skip to content

Commit

Permalink
wip: Proposal of eslint setting of TypeScript.
Browse files Browse the repository at this point in the history
  • Loading branch information
abetomo committed Mar 3, 2020
1 parent 8c3dd6f commit 8c666fe
Show file tree
Hide file tree
Showing 3 changed files with 825 additions and 3,523 deletions.
13 changes: 13 additions & 0 deletions .typescript-eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
extends: ['standard-with-typescript'],
parserOptions: {
project: './tsconfig.json'
},
rules: {
'one-var': 'off',
'no-var': 'warn',
'semi': ['error', 'always'],
'space-before-function-paren': ['error', 'never'],
'no-else-return': ['error', { 'allowElseIf': false }]
}
}
Loading

0 comments on commit 8c666fe

Please sign in to comment.