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.
[Info - 4:31:01 PM] Linter is running.
The 'quotemark' rule threw an error in '<<my .ts file>>':
SyntaxError: Invalid regular expression: /\)/: Unmatched ')'
at new RegExp ()
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:106:33)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14978:24)
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:109:12)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14985:24)
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:109:12)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14978:24)
[Warn - 2:10:31 PM] The 'quotemark' rule threw an error in '<<my .ts file>>':
SyntaxError: Invalid regular expression: /\)/: Unmatched ')'
at new RegExp ()
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:106:33)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14978:24)
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:109:12)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14985:24)
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:109:12)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14978:24)
Expected behavior
shouldn't throw
I have no idea what in my TS caused the problem.
npm start compiles ok without any warning/error.
The text was updated successfully, but these errors were encountered:
Well that's an odd one. I can't reproduce this locally. @alexfung888 could you please provide a source file that this bug shows up for? There's not much that can be done to help otherwise.
Bug Report
TypeScript code being linted
// code snippet
with
tslint.json
configuration:Actual behavior
[Info - 4:31:01 PM] Linter is running.
The 'quotemark' rule threw an error in '<<my .ts file>>':
SyntaxError: Invalid regular expression: /\)/: Unmatched ')'
at new RegExp ()
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:106:33)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14978:24)
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:109:12)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14985:24)
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:109:12)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14978:24)
[Warn - 2:10:31 PM] The 'quotemark' rule threw an error in '<<my .ts file>>':
SyntaxError: Invalid regular expression: /\)/: Unmatched ')'
at new RegExp ()
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:106:33)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14978:24)
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:109:12)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14985:24)
at cb (d:\authoring\angular\mysite epg\node_modules\tslint\lib\rules\quotemarkRule.js:109:12)
at visitNode (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14800:24)
at Object.forEachChild (d:\authoring\angular\mysite epg\node_modules\typescript\lib\typescript.js:14978:24)
Expected behavior
shouldn't throw
I have no idea what in my TS caused the problem.
npm start compiles ok without any warning/error.
The text was updated successfully, but these errors were encountered: