mirror of
https://github.com/facebook/react.git
synced 2026-02-23 04:12:21 +00:00
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:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user