Requires copyright headers in every source file.
Specifically, a source file is defined as any TypeScript file and the expected header text is as follows:
Copyright (c) Microsoft Corporation.
Licensed under the MIT license.
This rule is fixable using the --fix
option.
These must be located at the top of every source file.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT license.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// Other comment text here.
// Copyright (c) Microsoft Corporation.
class Class {
/* source code here */
}
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.