[componentkit linters] Remove the links from the message

Reviewed By: jvillard

Differential Revision: D3967641

fbshipit-source-id: de70d82
master
Dulma Churchill 9 years ago committed by Facebook Github Bot
parent 6b2a9de863
commit 3b581748f9

@ -100,8 +100,7 @@ let mutable_local_vars_advice context decl =
Some { Some {
CIssue.issue = CIssue.Mutable_local_variable_in_component_file; CIssue.issue = CIssue.Mutable_local_variable_in_component_file;
CIssue.description = "Local variables should be const to avoid reassignment"; CIssue.description = "Local variables should be const to avoid reassignment";
CIssue.suggestion = Some "Add a const (after the asterisk for pointer types). \ CIssue.suggestion = Some "Add a const (after the asterisk for pointer types).";
http://componentkit.org/docs/avoid-local-variables.html";
CIssue.loc = CFrontend_checkers.location_from_dinfo context decl_info CIssue.loc = CFrontend_checkers.location_from_dinfo context decl_info
} }
else None else None
@ -128,8 +127,7 @@ let component_factory_function_advice context decl =
CIssue.description = "Break out composite components"; CIssue.description = "Break out composite components";
CIssue.suggestion = Some ( CIssue.suggestion = Some (
"Prefer subclassing CKCompositeComponent to static helper functions \ "Prefer subclassing CKCompositeComponent to static helper functions \
that return a CKComponent subclass. \ that return a CKComponent subclass."
http://componentkit.org/docs/break-out-composites.html"
); );
CIssue.loc = CFrontend_checkers.location_from_dinfo context decl_info CIssue.loc = CFrontend_checkers.location_from_dinfo context decl_info
} }

Loading…
Cancel
Save