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

View file

@ -1,8 +1,5 @@
/**
* 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.
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
*
* @format
*/

View file

@ -1,8 +1,5 @@
/**
* 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.
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
*
* @format
*/

View file

@ -1,8 +1,5 @@
/**
* 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.
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
*
* @format
*/

View file

@ -1,8 +1,5 @@
/**
* 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.
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
*
* @format
*/

View file

@ -1,8 +1,5 @@
/**
* 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.
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
*
* @format
*/

View file

@ -1,8 +1,5 @@
/**
* 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.
* (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
*
* @format
*/