Closed wojciechczerniak closed 7 years ago
I totally agree. I was just about to create an issue about the structure of the object passed to reporters.
We should copy this: http://eslint.org/docs/developer-guide/nodejs-api#executeonfiles
I'm just about done removing this
from reporter.js
. Expanding that code to handle a better format would simplify it even more
I've started on this: https://github.com/SimenB/stylint/tree/restructur-message-obj
Going OK; making the transformation in done
. Have to write tests for it, plus update tests for reporter
. But the implementations should be done
Instead of
lineNo
we could useline
and instead ofcol
usecolumn
. I won't say that we should copy ESLint in everything but it's how they named them 😄 We can name themlineNo
andcolumnNo
/colNo
but be consistent.