Skip to content

Commit

Permalink
Add @oncall annotation to remaining source files
Browse files Browse the repository at this point in the history
Summary:
Following [f7aaa12](f7aaa12), this adds `oncall react_native` to remaining source files (those with header comments). This allows for easier identification of code owners within Meta.

Command run:

```
fastmod --extensions js --multiline '\* format\n \*/' "* format
                                                     * oncall react_native
                                                     */"
```

Reviewed By: arushikesarwani94

Differential Revision: D39810647

fbshipit-source-id: ebff422f44d437247922b2e7c9955cb9be747066
  • Loading branch information
huntie authored and facebook-github-bot committed Sep 27, 2022
1 parent 9e08142 commit 90a7ded
Show file tree
Hide file tree
Showing 231 changed files with 231 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions babel.config.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions eslint-rules/strictly-null.js
Expand Up @@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions flow-typed/Promise.js
Expand Up @@ -7,6 +7,7 @@
* @flow
* @nolint
* @format
* @oncall react_native
*/

/* eslint-disable */
Expand Down
1 change: 1 addition & 0 deletions flow-typed/accepts.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict
* @format
* @oncall react_native
*/

declare module 'accepts' {
Expand Down
1 change: 1 addition & 0 deletions flow-typed/babel-traverse.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

// The sections between BEGIN GENERATED and END GENERATED are generated
Expand Down
1 change: 1 addition & 0 deletions flow-typed/fb-watchman.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict
* @format
* @oncall react_native
*/

declare module 'fb-watchman' {
Expand Down
1 change: 1 addition & 0 deletions flow-typed/graceful-fs.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

declare module 'graceful-fs' {
Expand Down
1 change: 1 addition & 0 deletions flow-typed/jest-util.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict
* @format
* @oncall react_native
*/

declare module 'jest-util' {
Expand Down
1 change: 1 addition & 0 deletions flow-typed/jest.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

// Copied from https://raw.githubusercontent.com/flow-typed/flow-typed/master/definitions/npm/jest_v26.x.x/flow_v0.134.x-/jest_v26.x.x.js
Expand Down
1 change: 1 addition & 0 deletions flow-typed/npm/chalk_v4.x.x.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

declare module 'chalk' {
Expand Down
1 change: 1 addition & 0 deletions flow-typed/npm/ci-info_v2.x.x.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict
* @format
* @oncall react_native
*/

declare module 'ci-info' {
Expand Down
1 change: 1 addition & 0 deletions flow-typed/uglify.js
Expand Up @@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/buck-worker-tool/src/CommandFailedError.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/buck-worker-tool/src/profiling.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/buck-worker-tool/src/worker-tool.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-babel-register/src/babel-register.js
Expand Up @@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @oncall react_native
*/

'use strict';
Expand Down
Expand Up @@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-babel-transformer/src/index.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-cache-key/src/index.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-cache/src/Cache.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-cache/src/index.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-cache/src/stableHash.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-cache/src/types.flow.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-config/src/__mocks__/cosmiconfig.js
Expand Up @@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-config/src/defaults/defaults.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-config/src/defaults/exclusionList.js
Expand Up @@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-config/src/defaults/index.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-config/src/defaults/validConfig.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-config/src/index.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-config/src/loadConfig.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-core/src/Logger.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-core/src/Terminal.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-core/src/canonicalize.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-core/src/errors.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

'use strict';
Expand Down
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-core/src/errors/PackageResolutionError.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-core/src/index.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/ModuleMap.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

import type {
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/__tests__/HasteFS-test.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

import HasteFS from '../HasteFS';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/cache/DiskCacheManager.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

import type {
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/crawlers/node.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

import type {
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/crawlers/watchman.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

import type {
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/flow-types.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/index.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

import type {
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/lib/rootRelativeCacheKeys.js
Expand Up @@ -6,6 +6,7 @@
*
* @flow strict-local
* @format
* @oncall react_native
*/

import type {BuildParameters} from '../flow-types';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/watchers/NodeWatcher.js
@@ -1,6 +1,7 @@
/**
* vendored from https://github.com/amasad/sane/blob/64ff3a870c42e84f744086884bf55a4f9c22d376/src/node_watcher.js
* @format
* @oncall react_native
*/
'use strict';

Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/watchers/RecrawlWarning.js
@@ -1,6 +1,7 @@
/**
* vendored from https://github.com/amasad/sane/blob/64ff3a870c42e84f744086884bf55a4f9c22d376/src/utils/recrawl-warning-dedupe.js
* @format
* @oncall react_native
*/

'use strict';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/watchers/WatchmanWatcher.js
Expand Up @@ -5,6 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @oncall react_native
*/

import common from './common';
Expand Down
1 change: 1 addition & 0 deletions packages/metro-file-map/src/watchers/common.js
@@ -1,6 +1,7 @@
/**
* vendored from https://github.com/amasad/sane/blob/64ff3a870c42e84f744086884bf55a4f9c22d376/src/common.js
* @format
* @oncall react_native
*/

'use strict';
Expand Down

0 comments on commit 90a7ded

Please sign in to comment.