Skip to content

Commit 2c2e157

Browse files
committed
fix(): eslint fix
1 parent 265154b commit 2c2e157

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/resolvers/projectPatterns.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ interface RemoveProjectPatternMutationPayload {
5454

5555
/**
5656
* Validates a new event grouping pattern against existing patterns
57-
*
57+
*
5858
* @param newEventGroupingPattern - The new pattern to validate
5959
* @param existingEventGroupingPatternList - List of existing patterns to check against
6060
* @throws Error if pattern is invalid or collides with existing patterns
@@ -66,13 +66,13 @@ function validateNewEventGroupingPattern(
6666
* Check if pattern is valid RegExp
6767
*/
6868
try {
69+
/* eslint-disable-next-line no-new */
6970
new RegExp(newEventGroupingPattern);
7071
} catch (error) {
7172
throw new ApolloError('Invalid regular expression pattern');
7273
}
7374
}
7475

75-
7676
export default {
7777
Mutation: {
7878
/**

0 commit comments

Comments
 (0)