emacs-elsa / Elsa

Emacs Lisp Static Analyzer and gradual type system.
GNU General Public License v3.0
646 stars 27 forks source link

Implement rules from emacs style guide #64

Open Fuco1 opened 6 years ago

Fuco1 commented 6 years ago

https://github.com/bbatsov/emacs-lisp-style-guide

For inspiration look at https://github.com/Fuco1/Elsa/blob/master/elsa-ruleset.el the ruleset elsa-ruleset-style contains the style rules.

These are in turn defined in https://github.com/Fuco1/Elsa/blob/master/elsa-rules-list.el.

The naming of these files isn't great and I think we will need to split it apart better, somewhat in style of the extension and typed... so we will have elsa-ruleset-style.el which will define the ruleset and all the accompanying rules.

Fuco1 commented 6 years ago

We can also look at the closure version https://github.com/bbatsov/clojure-style-guide some of the things might be relevant.