question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

eslint --fix doesn't run even when ESLint Integration is enabled

See original GitHub issue

Plugin version: 0.27.0. Atom version: 1.16.0.

I have both this plugin and linter-eslint. After disabling “Fix errors on save” in linter-eslint and enabling ESLint integration in this plugin, saving doesn’t seem to run the eslint formatting. Enabling “Fix errors on save” in linter-eslint will make it work correctly but that’s clearly not an ideal thing to do.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
therealklannicommented, May 9, 2017

I ran into the same problem. This plugin only looks for .eslintrc not .eslintrc.* like ESLint does. So having .eslintrc.json5 (for example) causes this plugin to ignore your ESLint config.

I worked around this for now by symlinking the file.

0reactions
robwisecommented, May 9, 2017

@therealklanni This is just the atom package, we don’t actually look for the .eslintrc at all in this repo.Can you make an issue over at prettier-eslint repo?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command Line Interface - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
ESLint not working in VS Code? - Stack Overflow
To verify, press Ctrl + Shift + U in VSCode to open the Output panel after opening a JavaScript file with a known...
Read more >
ESLint not working in VSCode? Help build a troubleshooting ...
Open the command palette by pressing Ctrl / Cmd + Shift + P and select 'ESLint: Show Output Channel '. If ESLint throws...
Read more >
Integrating and Enforcing Prettier & ESLint
Solution A: always run ESLint after Prettier · Solution B: disable conflicting ESLint rules.
Read more >
Migrate from TSLint to ESLint - Visual Studio Code
ESLint : Run · Install the ESLint extension. · Create a task via the Tasks: Configure Task command and select npm: lint. ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found