rename left ts files to tsx and ban ts file extension

Summary: mass files rename

Reviewed By: passy

Differential Revision: D33890304

fbshipit-source-id: c057ac9fe87dd7659597c85d640619b93e1ff0e6
This commit is contained in:
Anton Kastritskiy
2022-02-01 12:37:27 -08:00
committed by Facebook GitHub Bot
parent e98b34a407
commit 05a3bb69dc
6 changed files with 3 additions and 3 deletions

View File

@@ -144,7 +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,
'flipper/no-ts-file-extension': 2,
'flipper/no-i-prefix-interfaces': 2,
'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}],
@@ -266,7 +266,7 @@ module.exports = {
files: [
'plugins/**/__tests__/*.tsx',
'plugins/**/__tests__/*.ts',
'plugins/postinstall.ts',
'plugins/postinstall.tsx',
// TODO: Remove specific plugin overrides down below
'plugins/fb/kaios-portal/kaios-debugger-client/client.tsx',
'plugins/public/reactdevtools/index.tsx',

View File

@@ -24,6 +24,6 @@
"react-dom": "*"
},
"scripts": {
"postinstall": "cd .. && ./ts-node ./plugins/postinstall.ts"
"postinstall": "cd .. && ./ts-node ./plugins/postinstall.tsx"
}
}