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

Remove "All Rights Reserved" from copyright notices #3322

Merged
merged 1 commit into from
Apr 28, 2021
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/SampleModule.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Author = '<name>'
CompanyName = 'Unknown'

# Copyright statement for this module
Copyright = '(c) 2016 <name>. All rights reserved.'
Copyright = '(c) 2021 <name>.'

# Description of the functionality provided by this module
Description = 'Some description. This is required by the PowerShell Gallery'
Expand Down
5 changes: 2 additions & 3 deletions src/controls/animatedStatusBar.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import {
Disposable,
Expand Down
5 changes: 2 additions & 3 deletions src/controls/checkboxQuickPick.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import vscode = require("vscode");

Expand Down
5 changes: 2 additions & 3 deletions src/debugAdapter.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { connect, Socket } from "net";
import { DebugAdapter, Event, DebugProtocolMessage, EventEmitter } from "vscode";
Expand Down
5 changes: 2 additions & 3 deletions src/features/CodeActions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import vscode = require("vscode");
import Window = vscode.window;
Expand Down
5 changes: 2 additions & 3 deletions src/features/Console.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import vscode = require("vscode");
import { NotificationType, RequestType } from "vscode-languageclient";
Expand Down
5 changes: 2 additions & 3 deletions src/features/CustomViews.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as path from "path";
import * as vscode from "vscode";
Expand Down
5 changes: 2 additions & 3 deletions src/features/DebugSession.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import vscode = require("vscode");
import { CancellationToken, DebugConfiguration, DebugConfigurationProvider,
Expand Down
5 changes: 2 additions & 3 deletions src/features/Examples.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import path = require("path");
import vscode = require("vscode");
Expand Down
5 changes: 2 additions & 3 deletions src/features/ExpandAlias.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import vscode = require("vscode");
import Window = vscode.window;
Expand Down
5 changes: 2 additions & 3 deletions src/features/ExtensionCommands.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as fs from "fs";
import * as os from "os";
Expand Down
6 changes: 3 additions & 3 deletions src/features/ExternalApi.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as vscode from "vscode";
import { v4 as uuidv4 } from 'uuid';
import { LanguageClientConsumer } from "../languageClientConsumer";
Expand Down
5 changes: 2 additions & 3 deletions src/features/FindModule.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import vscode = require("vscode");
import { RequestType } from "vscode-languageclient";
Expand Down
5 changes: 2 additions & 3 deletions src/features/GenerateBugReport.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import os = require("os");
import vscode = require("vscode");
Expand Down
6 changes: 3 additions & 3 deletions src/features/GetCommands.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as vscode from "vscode";
import { RequestType0 } from "vscode-languageclient";
import { LanguageClient } from "vscode-languageclient/node";
Expand Down
5 changes: 2 additions & 3 deletions src/features/HelpCompletion.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { Disposable, EndOfLine, Position, Range, SnippetString,
TextDocument, TextDocumentChangeEvent, window, workspace } from "vscode";
Expand Down
6 changes: 3 additions & 3 deletions src/features/ISECompatibility.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as vscode from "vscode";
import * as Settings from "../settings";

Expand Down
5 changes: 2 additions & 3 deletions src/features/NewFileOrProject.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import vscode = require("vscode");
import { RequestType } from "vscode-languageclient";
Expand Down
5 changes: 2 additions & 3 deletions src/features/OpenInISE.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import ChildProcess = require("child_process");
import vscode = require("vscode");
Expand Down
5 changes: 2 additions & 3 deletions src/features/PesterTests.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as path from "path";
import vscode = require("vscode");
Expand Down
5 changes: 2 additions & 3 deletions src/features/RemoteFiles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import os = require("os");
import path = require("path");
Expand Down
5 changes: 2 additions & 3 deletions src/features/RunCode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as path from "path";
import vscode = require("vscode");
Expand Down
5 changes: 2 additions & 3 deletions src/features/ShowHelp.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import vscode = require("vscode");
import { NotificationType } from "vscode-languageclient";
Expand Down
5 changes: 2 additions & 3 deletions src/features/UpdatePowerShell.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { spawn } from "child_process";
import * as fs from "fs";
Expand Down
5 changes: 2 additions & 3 deletions src/languageClientConsumer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { window } from "vscode";
import { LanguageClient } from "vscode-languageclient/node";
Expand Down
5 changes: 2 additions & 3 deletions src/logging.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import fs = require("fs");
import os = require("os");
Expand Down
5 changes: 2 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

"use strict";

Expand Down
5 changes: 2 additions & 3 deletions src/platform.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as child_process from "child_process";
import * as fs from "fs";
Expand Down
5 changes: 2 additions & 3 deletions src/process.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import cp = require("child_process");
import fs = require("fs");
Expand Down
5 changes: 2 additions & 3 deletions src/session.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import fs = require("fs");
import net = require("net");
Expand Down
5 changes: 2 additions & 3 deletions src/settings.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

"use strict";

Expand Down
5 changes: 2 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

"use strict";

Expand Down
5 changes: 2 additions & 3 deletions test/features/CustomViews.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as assert from "assert";
import fs = require("fs");
Expand Down
6 changes: 3 additions & 3 deletions test/features/ExternalApi.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as assert from "assert";
import * as vscode from "vscode";
import { before, beforeEach, afterEach } from "mocha";
Expand Down
6 changes: 3 additions & 3 deletions test/features/ISECompatibility.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as assert from "assert";
import * as vscode from "vscode";
import { ISECompatibilityFeature } from "../../src/features/ISECompatibility";
Expand Down
5 changes: 2 additions & 3 deletions test/features/RunCode.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as assert from "assert";
import rewire = require("rewire");
Expand Down
5 changes: 2 additions & 3 deletions test/features/UpdatePowerShell.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as assert from "assert";
import { GitHubReleaseInformation } from "../../src/features/UpdatePowerShell";
Expand Down
5 changes: 2 additions & 3 deletions test/platform.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as assert from "assert";
import mockFS = require("mock-fs");
Expand Down
5 changes: 2 additions & 3 deletions test/runTests.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as path from "path";

Expand Down
5 changes: 2 additions & 3 deletions test/settings.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as assert from "assert";
import * as vscode from "vscode";
Expand Down
5 changes: 2 additions & 3 deletions test/testRunner.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import * as glob from "glob";
import * as Mocha from "mocha";
Expand Down
5 changes: 2 additions & 3 deletions test/test_utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { ILogger } from "../src/logging";

Expand Down
8 changes: 7 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
"indent": [true, "spaces", 4],
"max-classes-per-file": false,
"object-literal-sort-keys": false,
"file-header": [true, "Copyright \\(C\\) Microsoft Corporation. All rights reserved."]
"file-header": [
true,
{
"allow-single-line-comments": true,
"match": "Copyright \\(c\\) Microsoft Corporation."
}
]
},
"rulesDirectory": []
}