Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Sep 25, 2024
1 parent 7628a8c commit 2d280cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const config = tseslint.config(
'no-extra-semi': 'off',
'no-secrets/no-secrets': 'error',

// eslint-disable-next-line @typescript-eslint/no-magic-numbers
'sonarjs/cognitive-complexity': ['warn', 20],
'sonarjs/no-duplicate-string': 'warn',

Expand Down
4 changes: 2 additions & 2 deletions test/runEslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ try {
}

/*
* Check if processed correctly
* Check if processed
*/

if (error === null) {
Expand All @@ -43,7 +43,7 @@ try {
}

/*
* Check if all imported plugins are used
* Check if all imported plugins used
*/

console.log('\nPLUGINS TESTED')
Expand Down

0 comments on commit 2d280cc

Please sign in to comment.