diff --git a/desktop/.eslintrc.js b/desktop/.eslintrc.js index e8399ab01..070d2a313 100644 --- a/desktop/.eslintrc.js +++ b/desktop/.eslintrc.js @@ -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', diff --git a/desktop/eslint-plugin-flipper/src/rules/__tests__/noIPrefixInterfaces.node.ts b/desktop/eslint-plugin-flipper/src/rules/__tests__/noIPrefixInterfaces.node.tsx similarity index 100% rename from desktop/eslint-plugin-flipper/src/rules/__tests__/noIPrefixInterfaces.node.ts rename to desktop/eslint-plugin-flipper/src/rules/__tests__/noIPrefixInterfaces.node.tsx diff --git a/desktop/eslint-plugin-flipper/src/rules/noIPrefixInterfaces.ts b/desktop/eslint-plugin-flipper/src/rules/noIPrefixInterfaces.tsx similarity index 100% rename from desktop/eslint-plugin-flipper/src/rules/noIPrefixInterfaces.ts rename to desktop/eslint-plugin-flipper/src/rules/noIPrefixInterfaces.tsx diff --git a/desktop/plugins/package.json b/desktop/plugins/package.json index 70396f731..0999fcf5d 100644 --- a/desktop/plugins/package.json +++ b/desktop/plugins/package.json @@ -24,6 +24,6 @@ "react-dom": "*" }, "scripts": { - "postinstall": "cd .. && ./ts-node ./plugins/postinstall.ts" + "postinstall": "cd .. && ./ts-node ./plugins/postinstall.tsx" } } diff --git a/desktop/plugins/postinstall.ts b/desktop/plugins/postinstall.tsx similarity index 100% rename from desktop/plugins/postinstall.ts rename to desktop/plugins/postinstall.tsx diff --git a/desktop/plugins/public/reactdevtools/fb-stubs/getInternalDevToolsModule.ts b/desktop/plugins/public/reactdevtools/fb-stubs/getInternalDevToolsModule.tsx similarity index 100% rename from desktop/plugins/public/reactdevtools/fb-stubs/getInternalDevToolsModule.ts rename to desktop/plugins/public/reactdevtools/fb-stubs/getInternalDevToolsModule.tsx