AtomLinter / linter-eslint

ESLint plugin for Atom Linter

Home Page:https://atom.io/packages/linter-eslint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid position given by 'prettier/prettier'

YigitcanOzturk opened this issue · comments

ESLint returned a point that did not exist in the document being edited.
Rule: prettier/prettier
Requested start point: 5:14 - 5:16

Debug information:

{
  "atomVersion": "1.53.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.2,
  "platform": "win32",
  "eslintType": "local project",
  "eslintPath": "D:\\MyProjects\\Influera\\node_modules\\eslint",
  "editorScopes": [
    "source.js"
  ]
}

I solved the bug i guess. Run this line "npm run lint -- --fix" on the command terminal.