chore: update FB template headers (#7842)

This commit is contained in:
Yangshun Tay 2022-07-28 14:48:03 +08:00 committed by GitHub
parent f21ee7c23b
commit 9150c7aefc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 36 deletions

View file

@ -1,8 +1,5 @@
/** /**
* Copyright (c) Meta Platforms, Inc. and affiliates. * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* *
* @format * @format
*/ */
@ -35,13 +32,9 @@ module.exports = {
'header/header': [ 'header/header': [
ERROR, ERROR,
'block', 'block',
[ [
'*', '*',
' * Copyright (c) Meta Platforms, Inc. and affiliates.', ' * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.',
' *',
' * 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,8 +1,7 @@
/** /**
* Copyright (c) Meta Platforms, Inc. and affiliates. * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
* *
* This source code is licensed under the MIT license found in the * @format
* LICENSE file in the root directory of this source tree.
*/ */
module.exports = { module.exports = {

View file

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