rowanmanning/joblint — pull request #70 by asiviero (2013-10-28 23:29:28+00:00)
Title: Templating configuration of rules via JSON file

Hey guys, as mentioned in #69, one big concern would be turning rule structuring into a more generic and less copy-pasted way, so this is what this pull request does.

I had some trouble with regex and JSON, so this part was left in the code, but basically everything that could be turned into a string and eventually parsed has been "stringified".

I'm also getting around with the points system, but I believe I got it right by letting it configurable too.

Ps.: Template is done for bubble.js and could be easily extended to the remaining rules if feedback is positive.