Closed JDong3 closed 2 years ago
ESLint returned a point that did not exist in the document being edited. Rule: func-call-spacing Requested start point: 2:53 - 3:0
func-call-spacing
function a() { return function () {}; } a() ();
Debug information:
{ "atomVersion": "1.58.0", "linterEslintVersion": "8.6.6", "linterEslintConfig": { "autofix": { "fixOnSave": true, "ignoreFixableRulesWhileTyping": true, "rulesToDisableWhileFixing": [] }, "scopes": [ "source.js", "source.jsx", "source.js.jsx", "source.flow", "source.babel", "source.js-semantic" ], "lintHtmlFiles": false, "global": { "useGlobalEslint": false, "eslintrcPath": "", "globalNodePath": "" }, "disabling": { "disableWhenNoEslintConfig": true, "rulesToSilenceWhileTyping": [] }, "advanced": { "disableEslintIgnore": false, "disableFSCache": false, "showRuleIdInMessage": true, "eslintRulesDirs": [], "localNodeModules": "" } }, "eslintVersion": "7.32.0", "hoursSinceRestart": 22, "platform": "win32", "eslintType": "local project", "eslintPath": "C:\\Users\\HP_\\project\\ctrade-v2\\node_modules\\eslint", "editorScopes": [ "source.js", "punctuation.definition.parameters.begin.bracket.round" ] }
Umm, the error message on the linter asked me to submit an issue, so I did. The code example does actually run if you're wondering.
For eslint v8+ you should use linter-eslint-node.
ESLint returned a point that did not exist in the document being edited. Rule:
func-call-spacing
Requested start point: 2:53 - 3:0Debug information: