warn about ts file extension

Summary: remove statically analysable life from typescript guidelines and let eslint handle it

Reviewed By: passy

Differential Revision: D33819891

fbshipit-source-id: 3cc3cb512607c3651cd3a9e48228d83bab5bb64a
This commit is contained in:
Anton Kastritskiy
2022-01-28 05:42:04 -08:00
committed by Facebook GitHub Bot
parent e9da574720
commit 4c83fbb524
4 changed files with 53 additions and 1 deletions

View File

@@ -144,6 +144,7 @@ module.exports = {
'flipper/no-relative-imports-across-packages': [2],
'flipper/no-electron-remote-imports': [1],
'flipper/no-console-error-without-context': [2],
'flipper/no-ts-file-extension': 1,
'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}],
// promise rules, see https://github.com/xjamundx/eslint-plugin-promise for details on each of them