Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

The editor goes blank when fix when save is enabled #24

Open
@eaviles

Description

@eaviles

Issue Type

Bug

Issue Description

Whenever I have "Fix errors on save" enabled, the entire editor window goes blank before appearing again with the corrected file. The editor stays blank for about 1 second and when is back the current cursor and scroll position is reset which makes the option unusable.

Bug Checklist

  • Restart Atom
  • Verify the eslint CLI gives the proper result, while linter-eslint-node does not
  • Paste the output of the Linter Eslint Node: Debug command from the Command Palette below
Atom version: 1.63.0-nightly1
linter-eslint-node version: 1.0.5
Worker using Node at path: /Users/edgardo/.nvm/versions/node/v16.14.2/bin/node
Worker Node version: v16.14.2
Worker PID: 1591
ESLint version: 8.14.0
ESLint location: /Users/edgardo/Developer/cradl-gdt/node_modules/eslint/
Linting in this project performed by: linter-eslint-node
Hours since last Atom restart: 0.2
Platform: darwin
Current file's scopes: [
  "source.js"
]
linter-eslint-node configuration: {
  "autofix": {
    "fixOnSave": true,
    "rulesToDisableWhileFixing": [],
    "ignoreFixableRulesWhileTyping": false
  },
  "scopes": [
    "source.js",
    "source.jsx",
    "source.js.jsx",
    "source.flow",
    "source.babel",
    "source.js-semantic",
    "source.ts"
  ],
  "nodeBin": "node",
  "warnAboutOldEslint": true,
  "disabling": {
    "disableWhenNoEslintConfig": true,
    "rulesToSilenceWhileTyping": []
  },
  "advanced": {
    "disableEslintIgnore": false,
    "showRuleIdInMessage": true,
    "useCache": true
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions