Skip to content

Commit

Permalink
Update license header pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaShakthi97 committed Sep 25, 2023
1 parent 7c1fc5c commit 2a90569
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@ const getLicenseHeaderPattern = () => {
const LICENSE_HEADER_DEFAULT_PATTERN = [
"*",
{
pattern: " Copyright \\(c\\) \\d{4}, WSO2 LLC. \\(https://www.wso2.com\\).",
template: ` * Copyright (c) ${
new Date().getFullYear()
}, WSO2 LLC. (https://www.wso2.com).`
pattern: " Copyright \\(c\\) \\b(2019|202[0-3])(?:-(202[0-3]))?, WSO2 LLC. \\(https://www.wso2.com\\)\.$",
template: " * Copyright (c) {{year}}, WSO2 LLC. (https://www.wso2.com)."
},
" *",
" * WSO2 LLC. licenses this file to you under the Apache License,",
Expand Down

0 comments on commit 2a90569

Please sign in to comment.