backtick open not shown in eslint --init
See original GitHub issueWhat version are you using? v3.14.1
What did you do?
ran eslint --init
What happened? for quotes, it only showed single or double
What did you expect to happen? it should give the options of single, double or backtick.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Backtick bug · Issue #14211 · eslint/eslint - GitHub
Steps to produce this bug I just type single backtick and try to save the file and vscode stops responding. Actually ESLint crashing...
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 >Rules - 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 | Yarn - Package Manager
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. In many ways, it is similar to JSLint and...
Read more >List of available rules - 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 >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
I think the point @michaelficarra is making is that folks think of
'
and"
as interchangeable, which they are. And then they think backtick is interchangeable and it isn’t.And you’re inevitably left with needing to choose 2 quote styles, backticks usually, and either single or double when you can’t.
Better would be an option to enforce single/double, with optionally enforcing backticks for concatenation.
And if @michaelficarra isn’t making that point, then I am!
Thanks for your interest in improving eslint. Unfortunately, it looks like this issue didn’t get enough support from the team and so I’m closing it. While we wish we’d be able to accommodate everyone’s requests, we do need to prioritize. We’ve found that issues failing to reach consensus after 21 days tend to never do it, and as such, we close those issues. This doesn’t mean the idea isn’t interesting, just that it’s not something the team can commit to.