Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upUnexpected linter output #1142
Comments
This comment has been minimized.
This comment has been minimized.
|
React Native app |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
standard --fix don't fix this, show the same error. |
This comment has been minimized.
This comment has been minimized.
jdkschang
commented
Aug 29, 2018
•
|
@darioajr if you're still receiving this issue please refer to this babel issue. can someone close and merge this with issue #1116 |
This comment has been minimized.
This comment has been minimized.
I also created an issue in babel. |
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
Dec 10, 2018
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
Dec 10, 2018
stale
bot
closed this
Dec 17, 2018
lock
bot
locked as resolved and limited conversation to collaborators
Mar 17, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
darioajr commentedMay 29, 2018
"babel-eslint": "7.1.1",

"standard": "10.0.2",
"lint": "standard --verbose | snazzy"
Mac OS 10.13.4
Node v9.11.1
Npm 5.6.0
npm run lint -s
standard: Unexpected linter output:
RangeError: Line number out of range (line 11 requested, but only 10 lines present).
at SourceCode.getIndexFromLoc (/Users/dario/Documents/srm-app/node_modules/eslint/lib/util/source-code.js:389:19)
at Object.fix (/Users/dario/Documents/srm-app/node_modules/eslint/lib/rules/no-multiple-empty-lines.js:116:52)
at RuleContext.report (/Users/dario/Documents/srm-app/node_modules/eslint/lib/rule-context.js:127:34)
at Program:exit.allLines.reduce.concat.reduce (/Users/dario/Documents/srm-app/node_modules/eslint/lib/rules/no-multiple-empty-lines.js:108:37)
at Array.reduce ()
at EventEmitter.Program:exit (/Users/dario/Documents/srm-app/node_modules/eslint/lib/rules/no-multiple-empty-lines.js:93:22)
at EventEmitter.emit (events.js:185:15)
at NodeEventGenerator.applySelector (/Users/dario/Documents/srm-app/node_modules/eslint/lib/util/node-event-generator.js:265:26)
at NodeEventGenerator.applySelectors (/Users/dario/Documents/srm-app/node_modules/eslint/lib/util/node-event-generator.js:294:22)
at NodeEventGenerator.leaveNode (/Users/dario/Documents/srm-app/node_modules/eslint/lib/util/node-event-generator.js:317:14)
If you think this is a bug in standard, open an issue: https://github.com/feross/standard/issues