Skip to content

Commit

Permalink
update muchMatch option in eslint-plugin-notice
Browse files Browse the repository at this point in the history
Signed-off-by: Kashish Mittal <[email protected]>
  • Loading branch information
04kash committed Jan 3, 2025
1 parent 6bd80fa commit 1ab533f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2024 The Backstage and RHDH Authors
* Copyright 2024 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,8 +24,7 @@ module.exports = {
'notice/notice': [
'error',
{
mustMatch:
/Copyright \d{4} (The Backstage and RHDH Authors|The RHDH Authors)/,
mustMatch: /Copyright \d{4} (The Backstage Authors|The RHDH Authors)/,
templateFile: path.resolve(
// eslint-disable-next-line no-restricted-syntax
__dirname,
Expand Down

0 comments on commit 1ab533f

Please sign in to comment.