Enable comma-dangle to show error



I am currently trying to enable comma-dangle to show an error when linting in Atom.

I need to know 2 things

  1. what file to adjust make dangle-comma show an error (i tried grepping for the rule and it shows up in 10 files.)
  2. How to add a rule to allow comments.

if anybody could offer any help that would be appreciated.