Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update FB template headers #7842

Merged
merged 1 commit into from Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
@@ -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