Skip to content

Commit

Permalink
fix: disable unicorn/consistent-function-scoping for unit test files
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Sep 2, 2024
1 parent 3cb4112 commit f7d3c65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const javascript: Config[] = [
name: 'sxzz/test-rules',
rules: {
'no-unused-expressions': 'off',
'unicorn/consistent-function-scoping': 'off',
},
},
]

0 comments on commit f7d3c65

Please sign in to comment.