AtomLinter/linter-eslint

Invalid position given by 'semi'

Hsx opened this issue · 1 comments

Hsx commented

ESLint returned a point that did not exist in the document being edited.
Rule: semi
Requested start point: 16:36 - 16:38

Debug information:

{
  "atomVersion": "1.54.0",
  "linterEslintVersion": "8.5.5",
  "linterEslintConfig": {
    "scopes": [
      "source.js",
      "source.jsx",
      "source.js.jsx",
      "source.flow",
      "source.babel",
      "source.js-semantic"
    ],
    "lintHtmlFiles": false,
    "autofix": {
      "fixOnSave": false,
      "ignoreFixableRulesWhileTyping": false,
      "rulesToDisableWhileFixing": []
    },
    "global": {
      "useGlobalEslint": false,
      "eslintrcPath": "",
      "globalNodePath": ""
    },
    "disabling": {
      "disableWhenNoEslintConfig": true,
      "rulesToSilenceWhileTyping": []
    },
    "advanced": {
      "disableEslintIgnore": false,
      "disableFSCache": false,
      "showRuleIdInMessage": true,
      "eslintRulesDirs": [],
      "localNodeModules": ""
    }
  },
  "eslintVersion": "6.8.0",
  "hoursSinceRestart": 0,
  "platform": "win32",
  "eslintType": "local project",
  "eslintPath": "J:\\Reactnative\\TheHappinessRoute\\node_modules\\eslint",
  "editorScopes": [
    "source.js",
    "punctuation.terminator.statement.semicolon"
  ]
}

Can you give a javascript file and eslint config that produces this issue?