RN: Change @{ => no}format in React Files

Summary:
Instead of using `.prettierrc` to ignore the files sync'd from React, replace `format` with `noformat`.

This is necessary because currently, the version of Prettier used in React Native (v2.4.1) differs from the version used in React (v1.19.1). We can revert this when React is upgraded.

Changelog:
[Internal]

Reviewed By: ShikaSD

Differential Revision: D32129937

fbshipit-source-id: ca3b379edd732670a9a0b1b20b3f31bdad4b74aa
This commit is contained in:
Tim Yung
2021-11-09 00:33:12 -08:00
committed by Facebook GitHub Bot
parent 32f36fe105
commit 280e4ce4fe
7 changed files with 12 additions and 13 deletions
-1
View File
@@ -1 +0,0 @@
Libraries/Renderer/
+2 -2
View File
@@ -4,9 +4,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @noformat
* @flow
* @generated SignedSource<<40f01afd3b6d95a617ac8e48748a2a76>>
* @generated SignedSource<<ca65d187831e77f0f589dfd9fa8775bc>>
*
* This file was sync'd from the facebook/react repository.
*/
@@ -4,9 +4,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @noformat
* @flow strict-local
* @generated SignedSource<<bed66083565ac46f6de032dd8f2d6814>>
* @generated SignedSource<<b17df4f82c9d4fe20645f360eadf82bc>>
*
* This file was sync'd from the facebook/react repository.
*/
+2 -2
View File
@@ -4,9 +4,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @noformat
* @flow
* @generated SignedSource<<fd14f2375864691ea971c77ac6088e4b>>
* @generated SignedSource<<45ec3626ad048b08dac9b031b02bc0a8>>
*
* This file was sync'd from the facebook/react repository.
*/
+2 -2
View File
@@ -4,9 +4,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @noformat
* @flow strict
* @generated SignedSource<<67969011689de134487d7110b6519058>>
* @generated SignedSource<<ec11b46a06877b4f7f3f0b6c1f5d46c3>>
*
* This file was sync'd from the facebook/react repository.
*/
@@ -4,9 +4,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @noformat
* @flow strict-local
* @generated SignedSource<<5b2da3e92f44ee2684113b45af052f5d>>
* @generated SignedSource<<cfc4aafaa6b6af5b0a69d4463b8d214d>>
*
* This file was sync'd from the facebook/react repository.
*/
@@ -4,9 +4,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @noformat
* @flow strict-local
* @generated SignedSource<<435ec24b3531c66986fe5d529795713b>>
* @generated SignedSource<<4f1549884fbe8fc2aea495692e3f665d>>
*
* This file was sync'd from the facebook/react repository.
*/