Open Fuco1 opened 6 years ago
See
(cl-defmethod elsa-check-check ((_ elsa-check-elsa-prefer-elsa-get-name) form scope state) (let* ((prop (elsa-get-name (elsa-nth 2 form)))) (when (eq prop 'name) (elsa-state-add-message state (elsa-make-notice (elsa-car form) "Prefer (elsa-get-name %s) to (oref %s name)." (elsa-form-print (elsa-cadr form)) (elsa-form-print (elsa-cadr form)))))))
it actually uses the form which is being linted and not just "use (foo x) instead of (oref x foo)"
See
it actually uses the form which is being linted and not just "use (foo x) instead of (oref x foo)"