aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/empty_pattern.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-11-20 13:26:26 +0000
committerAkshay <[email protected]>2021-11-28 07:55:23 +0000
commit2b6012a79cb092e5d88c050cb494057efef28fc2 (patch)
treecd31973c32431a5cbf8c12ce574f799d065852be /lib/src/lints/empty_pattern.rs
parent4e063b2abc402ac4d6902647e821978269025c7d (diff)
introduce --config flag
Diffstat (limited to 'lib/src/lints/empty_pattern.rs')
-rw-r--r--lib/src/lints/empty_pattern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/lints/empty_pattern.rs b/lib/src/lints/empty_pattern.rs
index c0cb5a4..f66a3b1 100644
--- a/lib/src/lints/empty_pattern.rs
+++ b/lib/src/lints/empty_pattern.rs
@@ -35,7 +35,7 @@ use rnix::{
35/// }; 35/// };
36/// ``` 36/// ```
37#[lint( 37#[lint(
38 name = "empty pattern", 38 name = "empty_pattern",
39 note = "Found empty pattern in function argument", 39 note = "Found empty pattern in function argument",
40 code = 10, 40 code = 10,
41 match_with = SyntaxKind::NODE_PATTERN 41 match_with = SyntaxKind::NODE_PATTERN