AtomLinter / linter-eslint

ESLint plugin for Atom Linter
https://atom.io/packages/linter-eslint
584 stars 140 forks source link

Invalid position given by 'no-multiple-empty-lines' #830

Closed atardadi closed 7 years ago

atardadi commented 7 years ago

ESLint returned a point that did not exist in the document being edited. Rule: no-multiple-empty-lines Requested range: 121:1

Debug information:

{
  "atomVersion": "1.14.3",
  "linterEslintVersion": "8.1.2",
  "linterEslintConfig": {
    "lintHtmlFiles": false,
    "useGlobalEslint": false,
    "showRuleIdInMessage": true,
    "disableWhenNoEslintConfig": true,
    "eslintrcPath": "",
    "globalNodePath": "",
    "advancedLocalNodeModules": "",
    "eslintRulesDir": "",
    "disableEslintIgnore": false,
    "disableFSCache": false,
    "fixOnSave": false,
    "scopes": [
      "source.js",
      "source.jsx",
      "source.js.jsx",
      "source.babel",
      "source.js-semantic"
    ],
    "rulesToSilenceWhileTyping": [],
    "rulesToDisableWhileFixing": []
  },
  "eslintVersion": "2.13.1",
  "hoursSinceRestart": 6.3,
  "platform": "darwin",
  "eslintType": "local project",
  "eslintPath": "/Users/atardadi/git/medalliadigitalchatbot/facebook-chatbot/node_modules/eslint"
}
Arcanemagus commented 7 years ago

Please update your version of ESLint, that rule had a bug that was fixed in v3.5.0.

Arcanemagus commented 7 years ago

Closing due to a lack of response, if you are still having problems after updating ESLint please report back, thanks!