Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit 3798902

Browse files
miorelfacebook-github-bot
authored andcommitted
Use strict-local in as many files as possible
Summary: I looked for files that had zero "baddies" (i.e. any, Function, Object), tried making them strict, reverted if there were errors. Reviewed By: gabelevi Differential Revision: D7957942 fbshipit-source-id: 22664d1add5e0a69e1f14342602abdbeef1dfc40
1 parent 0ecf9a6 commit 3798902

File tree

71 files changed

+71
-71
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+71
-71
lines changed

src/component/base/DraftEditorPlaceholder.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/contents/DraftEditorTextNode.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/handlers/composition/DraftEditorCompositionHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/handlers/edit/DraftEditorEditHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/handlers/edit/commands/SecondaryClipboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/handlers/edit/commands/keyCommandBackspaceWord.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/handlers/edit/commands/keyCommandDeleteWord.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/handlers/edit/commands/keyCommandInsertNewline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

src/component/handlers/edit/commands/keyCommandMoveSelectionToEndOfBlock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
99
* @format
10-
* @flow
10+
* @flow strict-local
1111
*/
1212

1313
'use strict';

0 commit comments

Comments
 (0)