mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
[prettier] Combine compiler and runtime configs
Merges the existing config to the root one so we can have a single
configuration file. I've tried to keep the compiler config as much as
possible in this PR so that no formatting changes occur.
ghstack-source-id: 8bbfc9f269
Pull Request resolved: https://github.com/facebook/react/pull/30021
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
const compilerPaths = ['compiler/**'];
|
||||
|
||||
// Files that are transformed and can use ES6/Flow/JSX.
|
||||
const esNextPaths = [
|
||||
// Internal forwarding modules
|
||||
@@ -28,6 +30,7 @@ const es5Paths = ['packages/*/npm/**/*.js'];
|
||||
const typescriptPaths = ['packages/**/*.d.ts'];
|
||||
|
||||
module.exports = {
|
||||
compilerPaths,
|
||||
esNextPaths,
|
||||
es5Paths,
|
||||
typescriptPaths,
|
||||
|
||||
Reference in New Issue
Block a user