aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lints/legacy_let_syntax.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/legacy_let_syntax.rs
parent4e063b2abc402ac4d6902647e821978269025c7d (diff)
introduce --config flag
Diffstat (limited to 'lib/src/lints/legacy_let_syntax.rs')
-rw-r--r--lib/src/lints/legacy_let_syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/lints/legacy_let_syntax.rs b/lib/src/lints/legacy_let_syntax.rs
index cdd012d..5d0028b 100644
--- a/lib/src/lints/legacy_let_syntax.rs
+++ b/lib/src/lints/legacy_let_syntax.rs
@@ -36,7 +36,7 @@ use rnix::{
36/// }.body 36/// }.body
37/// ``` 37/// ```
38#[lint( 38#[lint(
39 name = "legacy let syntax", 39 name = "legacy_let_syntax",
40 note = "Using undocumented `let` syntax", 40 note = "Using undocumented `let` syntax",
41 code = 5, 41 code = 5,
42 match_with = SyntaxKind::NODE_LEGACY_LET 42 match_with = SyntaxKind::NODE_LEGACY_LET