Skip to content

Commit

Permalink
fix(biome): noUselessTernary
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed May 13, 2024
1 parent 66fca06 commit 5f32108
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"recommended": true,
"complexity": {
"noForEach": "off",
"noUselessTernary": "off",
"useLiteralKeys": "off"
},
"performance": {
Expand Down
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export function getAllFilesWithIgnore(dirPath, pattern, ignoreList) {
absolute: true,
nocase: true,
nodir: true,
dot: pattern.startsWith(".") ? true : false,
dot: pattern.startsWith("."),
follow: false,
ignore: ignoreList,
});
Expand Down

0 comments on commit 5f32108

Please sign in to comment.