Skip to content

Commit 2e903a4

Browse files
👕 refactor: Lint truth and untruth.
By renaming unused paramter "x" to "_".
1 parent 6784080 commit 2e903a4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/boolean.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
2-
export let truth = x => true ;
3-
export let untruth = x => false ;
4-
1+
export let truth = _ => true ;
2+
export let untruth = _ => false ;

0 commit comments

Comments
 (0)