Plugin does not work with autofix
See original GitHub issueref: https://github.com/AtomLinter/linter-eslint/issues/815
Everything just started with https://github.com/AtomLinter/linter-eslint/issues/779.
I just have a markdown file, javascript file and eslintrc.
I’m using:
% ❯ npm ls | grep eslint February 12, 12:34:53
├── eslint@3.15.0
├── eslint-config-standard@6.2.1
├── eslint-plugin-markdown@1.0.0-beta.3
├── eslint-plugin-promise@3.4.1
├── eslint-plugin-standard@2.0.1
and have this config
{
"extends": ["standard"],
"plugins": ["markdown"],
"rules": {
"semi": [
2,
"always"
]
}
}
Intentionally makes standard
to always want semicolons so it is easy to see if autofixing works.
Initially I was thinking it is Linter-ESLint bug, but seems it isn’t. Because when run the following ESLint still report errors and does not fix them.
eslint --fix --ext md README.md
eslint --fix --ext md .
eslint --fix -c .eslintrc --ext md README.md
the code fences in the markdown file is both jsx
and js
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
eslint-plugin-no-autofix - npm
Start using eslint-plugin-no-autofix in your project by running `npm i eslint-plugin-no-autofix`. There are 14 other projects in the npm ...
Read more >eslint-plugin-no-autofix | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >Grade Report “Auto Fix” Feature Not Working - WordPress.org
This could be due to a plugin/theme conflict or a server configuration issue. Our troubleshooting efforts did not fix the above condition.
Read more >Command Line Interface - ESLint - Pluggable JavaScript Linter
Deprecated: Use rules from plugins Fix problems: --fix Automatically fix ... editor plugins) which need to autofix text from the command line without...
Read more >Custom ESLint plugin doesn't suggest auto-fix in editor
I created a custom eslinter plugin which warns the usage of a specific function. It is working as expected, the only issue is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This got merged, so +1
No. However, this might be possible soon if https://github.com/eslint/eslint/pull/9090 is merged.