Skip to content

Commit

Permalink
chore: update FB template headers (#7842)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Jul 28, 2022
1 parent f21ee7c commit 9150c7a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 36 deletions.
11 changes: 2 additions & 9 deletions 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
*/
Expand Down Expand Up @@ -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,
Expand Down
5 changes: 2 additions & 3 deletions 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 = {
Expand Down
@@ -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
*/
Expand Down
@@ -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
*/
Expand Down
5 changes: 1 addition & 4 deletions 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
*/
Expand Down
@@ -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
*/
Expand Down
@@ -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
*/
Expand Down
@@ -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
*/
Expand Down

0 comments on commit 9150c7a

Please sign in to comment.