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:
committed by
Facebook GitHub Bot
parent
e98b34a407
commit
05a3bb69dc
@@ -144,7 +144,7 @@ module.exports = {
|
|||||||
'flipper/no-relative-imports-across-packages': [2],
|
'flipper/no-relative-imports-across-packages': [2],
|
||||||
'flipper/no-electron-remote-imports': [1],
|
'flipper/no-electron-remote-imports': [1],
|
||||||
'flipper/no-console-error-without-context': [2],
|
'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,
|
'flipper/no-i-prefix-interfaces': 2,
|
||||||
'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}],
|
'communist-spelling/communist-spelling': [1, {allow: ['cancelled']}],
|
||||||
|
|
||||||
@@ -266,7 +266,7 @@ module.exports = {
|
|||||||
files: [
|
files: [
|
||||||
'plugins/**/__tests__/*.tsx',
|
'plugins/**/__tests__/*.tsx',
|
||||||
'plugins/**/__tests__/*.ts',
|
'plugins/**/__tests__/*.ts',
|
||||||
'plugins/postinstall.ts',
|
'plugins/postinstall.tsx',
|
||||||
// TODO: Remove specific plugin overrides down below
|
// TODO: Remove specific plugin overrides down below
|
||||||
'plugins/fb/kaios-portal/kaios-debugger-client/client.tsx',
|
'plugins/fb/kaios-portal/kaios-debugger-client/client.tsx',
|
||||||
'plugins/public/reactdevtools/index.tsx',
|
'plugins/public/reactdevtools/index.tsx',
|
||||||
|
|||||||
@@ -24,6 +24,6 @@
|
|||||||
"react-dom": "*"
|
"react-dom": "*"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "cd .. && ./ts-node ./plugins/postinstall.ts"
|
"postinstall": "cd .. && ./ts-node ./plugins/postinstall.tsx"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user