summaryrefslogtreecommitdiff
path: root/rules/lint/RULES
diff options
context:
space:
mode:
Diffstat (limited to 'rules/lint/RULES')
-rw-r--r--rules/lint/RULES22
1 files changed, 8 insertions, 14 deletions
diff --git a/rules/lint/RULES b/rules/lint/RULES
index e1000d9e..0fba1271 100644
--- a/rules/lint/RULES
+++ b/rules/lint/RULES
@@ -21,23 +21,17 @@
{ "type": "let*"
, "bindings":
[ [ "PATH"
- , { "type": "reverse"
+ , { "type": "nub_left"
, "$1":
- { "type": "nub_right"
+ { "type": "++"
, "$1":
- { "type": "reverse"
- , "$1":
- { "type": "++"
- , "$1":
- [ {"type": "FIELD", "name": "PATH"}
- , { "type": "let*"
- , "bindings": [["provider", "PATH"]]
- , "body":
- {"type": "CALL_EXPRESSION", "name": "base-provides-++"}
- }
- ]
+ [ {"type": "FIELD", "name": "PATH"}
+ , { "type": "let*"
+ , "bindings": [["provider", "PATH"]]
+ , "body":
+ {"type": "CALL_EXPRESSION", "name": "base-provides-++"}
}
- }
+ ]
}
}
]