I guess the custom helper isn’t being selected. See the docs for getHelpers. Or don’t use the helper feature and just directly register your source via the getAnnotations option to the linter.
I am already combing 2 functions into one wrapper with cm.addOverlay in order to avoid duplicate processing.
I can manually recreate the marker (i.e. makeMarker & showTooltip etc in lint.js) and manually insert it, but I was hoping not to duplicate lint.js functions.
The standard lint that I use, runs in either javascript or css (one for each instance, not together).
There is data coming from javascript-lint.js (which gets it from window.JSHINT)
… or …
data coming from css-lint.js (which gets it from window.CSSLint)
Do you mean replacing javascript-lint.js & css-lint.js and instead run a NEW CodeMirror.registerHelper('lint', 'custom', customLint);, then get the data from window.JSHINT & window.CSSLint, combine and finally pass to lint.js?
Update
Actually, I think I will find the window object and append it to window.JSHINT & window.CSSLint object.