You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Cannot call method 'tokenAtBufferColumn' of undefined
Similar to the issue with some linters returning line 0, some linters do not return any position information at all for some errors. e.g. csslint has a few rules:
Uncaught TypeError: Cannot call method 'tokenAtBufferColumn' of undefined
Similar to the issue with some linters returning line 0, some linters do not return any position information at all for some errors. e.g. csslint has a few rules:
https://github.com/CSSLint/csslint/blob/master/src/rules/important.js
https://github.com/CSSLint/csslint/blob/master/src/rules/font-sizes.js
The error occurs here: https://github.com/AtomLinter/Linter/blob/master/lib/linter.coffee#L190
The calculated rowStart ends up being NaN due to the undefined
lineStart
andline
properties. Changing to:Seems to fix it but I'm not sure if this breaks anything else.
The text was updated successfully, but these errors were encountered: