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
What version of this package are you using?
currently using v12, error message shows the JSX file that the bug is being thrown in v13, have tried versions all the way up to 17, version 17 throws different errors
What operating system, Node.js, and npm version?
v16.15.0
What happened?
I get the following error
$ yarn standard
$ /Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/.bin/standard
standard: Unexpected linter output:
TypeError: Cannot read properties of null (reading 'range')
at SourceCode.getTokenBefore (/Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/token-store/index.js:303:18)
at checkSpacingBefore (/Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/rules/template-curly-spacing.js:52:42)
at TemplateElement (/Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/rules/template-curly-spacing.js:117:17)
at /Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/util/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/util/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/util/node-event-generator.js:251:26)
at NodeEventGenerator.applySelectors (/Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/util/node-event-generator.js:280:22)
at NodeEventGenerator.enterNode (/Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/util/node-event-generator.js:294:14)
at CodePathAnalyzer.enterNode (/Users/aronlilland/Documents/dev/controlair/backbone-ui/applications/backbone/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:632:23)
If you think this is a bug in `standard`, open an issue: https://github.com/standard/standard/issues
it appears to have issues when parsing this line of JSX {opt.overrideOn
What did you expect to happen?
expecting to see CLI output of what needs to be linted
Are you willing to submit a pull request to fix this bug?
yes, but dont know where to start, dont understand the issue - seems to be something with eslint
The text was updated successfully, but these errors were encountered:
What version of this package are you using?
currently using v12, error message shows the JSX file that the bug is being thrown in v13, have tried versions all the way up to 17, version 17 throws different errors
What operating system, Node.js, and npm version?
v16.15.0
What happened?
I get the following error
it appears to have issues when parsing this line of JSX
{opt.overrideOn
What did you expect to happen?
expecting to see CLI output of what needs to be linted
Are you willing to submit a pull request to fix this bug?
yes, but dont know where to start, dont understand the issue - seems to be something with eslint
The text was updated successfully, but these errors were encountered: