-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve license header checks @W-14846456 (#3951)
* chore(scripts): run header check on commit Fail faster than waiting for CI! * fix(scripts): update copyright header check to permit new company name In 2022, Salesforce changed from "salesforce.com, inc." to "Salesforce, Inc." https://investor.salesforce.com/press-releases/press-release-details/2022/Salesforce-Changes-Legal-Name-to-Salesforce-Inc/default.aspx * chore: remove file that doesn't exist from ignore patterns * chore(lint): add copyright header enforcement to eslint This enables auto-fixes, which is an improvment over the check-license-headers.js script. * chore(scripts): add check-license-headers to package.json scripts * fix: check license headers for all files, not just js/ts * chore: remove check-license-headers script Headers are enforced for JS/TS files using eslint. Other file types don't need enforcement. * chore(lint): remove overrides covered by .eslintignore * chore(lint): remove unnecessary rule exception * style: revert to 2-space indent * style: revert to original formatting * chore(scripts): remove package.json script for removed script file
- Loading branch information
Showing
11 changed files
with
63 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/@lwc/engine-server/src/__tests__/modules/x/htmlVoid/htmlVoid.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...s/@lwc/engine-server/src/__tests__/modules/x/htmlVoidAdjacentText/htmlVoidAdjacentText.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...@lwc/engine-server/src/__tests__/modules/x/htmlVoidHtmlNamespace/htmlVoidHtmlNamespace.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/@lwc/engine-server/src/__tests__/modules/x/svgPath/svgPath.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env node | ||
|
||
/* | ||
* Copyright (c) 2018, salesforce.com, inc. | ||
* All rights reserved. | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters