Compiler: unfork prettier config (#30205)

Updates the prettier config to format all `.ts` and `.tsx` files in the
repo using the existing defaults and removing overrides.

The first commit in this PR contains the config changes, the second is
just the result of running `yarn prettier-all`.
This commit is contained in:
Jan Kassens
2024-07-18 17:00:24 -04:00
committed by GitHub
parent 6fac743ed7
commit fd2b3e13d3
1898 changed files with 12437 additions and 12663 deletions

View File

@@ -6,8 +6,6 @@
*/
'use strict';
const compilerPaths = ['compiler/**'];
// Files that are transformed and can use ES6/Flow/JSX.
const esNextPaths = [
// Internal forwarding modules
@@ -27,11 +25,7 @@ const esNextPaths = [
// Files that we distribute on npm that should be ES5-only.
const es5Paths = ['packages/*/npm/**/*.js'];
const typescriptPaths = ['packages/**/*.d.ts'];
module.exports = {
compilerPaths,
esNextPaths,
es5Paths,
typescriptPaths,
};