Skip to content

Commit

Permalink
enabled checking typescript files
Browse files Browse the repository at this point in the history
disabled no-closure-siblings rule to prevent crash with typescript plugin (see eslint/eslint#13639)
  • Loading branch information
samualtnorman committed Sep 1, 2020
1 parent 7c77736 commit 58bd318
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/configs/recommended.json
Expand Up @@ -10,13 +10,11 @@
"no-unreachable": "warn",
"no-constant-condition": "warn",
"no-eval": "error",
"no-extend-native": "error",
"no-fallthrough": "off",
"no-global-assign": "error",
"no-implied-eval": "error",
"no-global-return": "off",
"hackmud2/validate-subscript-syntax": "error",
"hackmud2/no-closure-identifier": "error",
"hackmud2/no-closure-siblings": "error"
"hackmud2/no-closure-identifier": "error"
}
}
3 changes: 2 additions & 1 deletion src/processors/index.js
@@ -1,5 +1,6 @@
import jsProcessor from './js'

export default {
'.js': jsProcessor
'.js': jsProcessor,
'.ts': jsProcessor
}
4 changes: 2 additions & 2 deletions src/rules/index.js
@@ -1,9 +1,9 @@
import noClosureIdentifier from './no-closure-identifier'
import noClosureSiblings from './no-closure-siblings'
// import noClosureSiblings from './no-closure-siblings'
import validateSubscriptSyntax from './validate-subscript-syntax'

export default {
'no-closure-identifier': noClosureIdentifier,
'no-closure-siblings': noClosureSiblings,
// 'no-closure-siblings': noClosureSiblings,
'validate-subscript-syntax': validateSubscriptSyntax
}

0 comments on commit 58bd318

Please sign in to comment.