Skip to content

Commit

Permalink
Adds regex for license header
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <[email protected]>
  • Loading branch information
konstantinabl committed Dec 10, 2024
1 parent f604f05 commit bc0e5b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ module.exports = {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "off",
"header/header": [2, "block", [
" -",
"-",
" *",
" * Hedera JSON RPC Relay",
" *",
" * Copyright (C) \\d{4}(-\\d{4})? Hedera Hashgraph, LLC",
{"pattern": "^\\s\\*\\sCopyright \\(C\\) 20(1[8-9]|[2-9]\\d)(?:-20(1[8-9]|[2-9]\\d))? Hedera Hashgraph, LLC$", "template": " Copyright 2019"},
" *",
" * Licensed under the Apache License, Version 2.0 (the \"License\");",
" * you may not use this file except in compliance with the License.",
Expand All @@ -86,7 +86,6 @@ module.exports = {
" * See the License for the specific language governing permissions and",
" * limitations under the License.",
" *",
" "
]]
},
};

0 comments on commit bc0e5b8

Please sign in to comment.