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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
TypeError: Cannot read property 'end' of undefined
at OneLineWalker.check (/Users/dylan/dev/cala/studio/node_modules/tslint/lib/rules/oneLineRule.js:141:31)
at cb (/Users/dylan/dev/cala/studio/node_modules/tslint/lib/rules/oneLineRule.js:92:27)
at visitNodes (/Users/dylan/dev/cala/studio/node_modules/typescript/lib/typescript.js:12699:30)
at Object.forEachChild (/Users/dylan/dev/cala/studio/node_modules/typescript/lib/typescript.js:12877:24)
at OneLineWalker.walk (/Users/dylan/dev/cala/studio/node_modules/tslint/lib/rules/oneLineRule.js:138:19)
at Rule.AbstractRule.applyWithWalker (/Users/dylan/dev/cala/studio/node_modules/tslint/lib/language/rule/abstractRule.js:31:16)
at Rule.apply (/Users/dylan/dev/cala/studio/node_modules/tslint/lib/rules/oneLineRule.js:34:21)
at Linter.applyRule (/Users/dylan/dev/cala/studio/node_modules/tslint/lib/linter.js:177:29)
at /Users/dylan/dev/cala/studio/node_modules/tslint/lib/linter.js:119:85
at Object.flatMap (/Users/dylan/dev/cala/studio/node_modules/tslint/lib/utils.js:151:29)
ERROR: src/redux/section-previews/actions.ts[8, 18]: An empty interface is equivalent to `{}`.
Expected behavior
ERROR: src/redux/section-previews/actions.ts[10, 14]: statements are not aligned
ERROR: src/redux/section-previews/actions.ts[11, 17]: statements are not aligned
ERROR: src/redux/section-previews/actions.ts[10, 12]: Missing semicolon
ERROR: src/redux/section-previews/actions.ts[11, 15]: Missing semicolon
ERROR: src/redux/section-previews/actions.ts[11, 23]: Missing semicolon
ERROR: src/redux/section-previews/actions.ts[12, 2]: Unnecessary semicolon
— this is the output from tslint 5.5.0, the previous version we used
The text was updated successfully, but these errors were encountered:
Despite the same error message, I don't think this is a dupe of #3244 as that appears to have been fixed in 5.8.0.
Bug Report
TypeScript code being linted
(yes, this is known bad/invalid code - existed briefly as part of a small refactor)
with
tslint.json
configuration:Actual behavior
Expected behavior
— this is the output from tslint 5.5.0, the previous version we used
The text was updated successfully, but these errors were encountered: