From 1ac8f9f5b8325325a57d0334a8beb3238a0f5dac Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Thu, 28 Jul 2022 13:59:33 +0800 Subject: [PATCH] chore: update FB template headers --- .../create-docusaurus/templates/facebook/.eslintrc.js | 11 ++--------- .../templates/facebook/.stylelintrc.js | 5 ++--- .../templates/facebook/babel.config.js | 5 +---- .../templates/facebook/docusaurus.config.js | 5 +---- .../create-docusaurus/templates/facebook/sidebars.js | 5 +---- .../templates/facebook/src/css/custom.css | 5 +---- .../templates/facebook/src/pages/index.js | 5 +---- .../templates/facebook/src/pages/styles.module.css | 5 +---- 8 files changed, 10 insertions(+), 36 deletions(-) diff --git a/packages/create-docusaurus/templates/facebook/.eslintrc.js b/packages/create-docusaurus/templates/facebook/.eslintrc.js index 8ccf3b17bdf7..fd0af9caef47 100644 --- a/packages/create-docusaurus/templates/facebook/.eslintrc.js +++ b/packages/create-docusaurus/templates/facebook/.eslintrc.js @@ -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, diff --git a/packages/create-docusaurus/templates/facebook/.stylelintrc.js b/packages/create-docusaurus/templates/facebook/.stylelintrc.js index 11b6ffb3234a..193928a0bb0b 100644 --- a/packages/create-docusaurus/templates/facebook/.stylelintrc.js +++ b/packages/create-docusaurus/templates/facebook/.stylelintrc.js @@ -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 = { diff --git a/packages/create-docusaurus/templates/facebook/babel.config.js b/packages/create-docusaurus/templates/facebook/babel.config.js index 84ad45acbd0e..ce409f0b51bd 100644 --- a/packages/create-docusaurus/templates/facebook/babel.config.js +++ b/packages/create-docusaurus/templates/facebook/babel.config.js @@ -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 */ diff --git a/packages/create-docusaurus/templates/facebook/docusaurus.config.js b/packages/create-docusaurus/templates/facebook/docusaurus.config.js index c877fbcb0476..3e121344e886 100644 --- a/packages/create-docusaurus/templates/facebook/docusaurus.config.js +++ b/packages/create-docusaurus/templates/facebook/docusaurus.config.js @@ -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 */ diff --git a/packages/create-docusaurus/templates/facebook/sidebars.js b/packages/create-docusaurus/templates/facebook/sidebars.js index be7a480ce62a..2cabe28c42ed 100644 --- a/packages/create-docusaurus/templates/facebook/sidebars.js +++ b/packages/create-docusaurus/templates/facebook/sidebars.js @@ -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 */ diff --git a/packages/create-docusaurus/templates/facebook/src/css/custom.css b/packages/create-docusaurus/templates/facebook/src/css/custom.css index 2396bcccdbb8..f5efd6d74940 100644 --- a/packages/create-docusaurus/templates/facebook/src/css/custom.css +++ b/packages/create-docusaurus/templates/facebook/src/css/custom.css @@ -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 */ diff --git a/packages/create-docusaurus/templates/facebook/src/pages/index.js b/packages/create-docusaurus/templates/facebook/src/pages/index.js index 6b378cd9d9cc..64bfa0d62cec 100644 --- a/packages/create-docusaurus/templates/facebook/src/pages/index.js +++ b/packages/create-docusaurus/templates/facebook/src/pages/index.js @@ -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 */ diff --git a/packages/create-docusaurus/templates/facebook/src/pages/styles.module.css b/packages/create-docusaurus/templates/facebook/src/pages/styles.module.css index e74559a80617..50c3bc11c39b 100644 --- a/packages/create-docusaurus/templates/facebook/src/pages/styles.module.css +++ b/packages/create-docusaurus/templates/facebook/src/pages/styles.module.css @@ -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 */