auto fix does not auto fix require
See original GitHub issueconfig:
'import/order': [
'error',
{
'newlines-between': 'never',
alphabetize: {
order: 'asc',
caseInsensitive: true
}
}
]
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
auto fix does not auto fix require · Issue #2001 · import-js/eslint ...
I think import would do this: const z = require('z'); sideEffect ...
Read more >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 >`Tslint --fix` does not autofix but instead generates lint ...
and I'm trying to get tslint to autofix all my lint problems with the --fix flag. I'm running the script: npm run tslint...
Read more >ESLint | WebStorm Documentation - JetBrains
ESLint can fix the detected problems every time your changes are saved either manually, with Ctrl+S , or automatically, when you launch a...
Read more >Align your content quickly and easily with Auto Fix
When elements overlap, Auto Fix can't infer how to align them. When there are no overlaps, Auto Fix can better determine how you...
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 Free
Top 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
The first one should indeed warn, but it’s up to the user to use eslint override comments if it’s intentional. The second should indeed be autofixable.
Yeah, that sounds about right…