fix: revert "update FB template headers (#7842)" (#7926)

Revert "chore: update FB template headers (#7842)"

This reverts commit 9150c7aefc.
This commit is contained in:
Yangshun Tay 2022-08-09 09:42:27 +08:00 committed by GitHub
parent 6d86be558d
commit 0bc4a7ddb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 36 additions and 10 deletions

View file

@ -1,5 +1,8 @@
/** /**
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */
@ -32,9 +35,13 @@ module.exports = {
'header/header': [ 'header/header': [
ERROR, ERROR,
'block', 'block',
[ [
'*', '*',
' * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.', ' * Copyright (c) Meta Platforms, Inc. and affiliates.',
' *',
' * This source code is licensed under the MIT license found in the',
' * LICENSE file in the root directory of this source tree.',
' *', ' *',
// Unfortunately eslint-plugin-header doesn't support optional lines. // Unfortunately eslint-plugin-header doesn't support optional lines.
// If you want to enforce your website JS files to have @flow or @format, // If you want to enforce your website JS files to have @flow or @format,

View file

@ -1,7 +1,8 @@
/** /**
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* @format * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/ */
module.exports = { module.exports = {

View file

@ -1,5 +1,8 @@
/** /**
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */

View file

@ -1,5 +1,8 @@
/** /**
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */

View file

@ -1,5 +1,8 @@
/** /**
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */

View file

@ -1,5 +1,8 @@
/** /**
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */

View file

@ -1,5 +1,8 @@
/** /**
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */

View file

@ -1,5 +1,8 @@
/** /**
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */