diff --git a/src/configs/recommended.json b/src/configs/recommended.json index 8a787c4..719e3a0 100644 --- a/src/configs/recommended.json +++ b/src/configs/recommended.json @@ -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" } } diff --git a/src/processors/index.js b/src/processors/index.js index a7b3834..12a69c2 100644 --- a/src/processors/index.js +++ b/src/processors/index.js @@ -1,5 +1,6 @@ import jsProcessor from './js' export default { - '.js': jsProcessor + '.js': jsProcessor, + '.ts': jsProcessor } diff --git a/src/rules/index.js b/src/rules/index.js index 7035b05..b3a670f 100644 --- a/src/rules/index.js +++ b/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 }