Rule "quotes": ["error", "backtick"] causes errors
See original GitHub issueIf I use this rule
"quotes": ["error", "backtick"]
I get errors like this
prettier-eslint [ERROR]: prettier formatting failed due to a prettier error
prettier-eslint-cli [ERROR]: There was an error formatting "packages/gatsby/lib/utils/webpack.config.js":
● Validation Error:
Option "singleQuote" must be of type:
boolean
but instead received:
string
Example:
{
"singleQuote": false
}
Using prettier-eslint-cli 3.4.2
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
quotes - ESLint - Pluggable JavaScript Linter
This rule enforces the consistent use of either backticks, double, or single quotes. Options. This rule has two options, a string option and...
Read more >How to disable eslint(prettier/prettier) single quotes error
I use it but its show error. While I use single quotes it show me error. Replace 'react-native' with "react-native" eslint( ...
Read more >What does ` (backquote/backtick) mean in commands?
This is a backtick. A backtick is not a quotation sign. It has a very special meaning. Everything you type between backticks is...
Read more >eslint-config-prettier - Awesome JS
If you'd like all strings to use backticks (never quotes), enable the "backtick" option. Example ESLint configuration: { "rules": { "quotes": ["error" ...
Read more >Strings - Manual - PHP
To specify a literal single quote, escape it with a backslash ( \ ). To specify a literal backslash, double it ( \\...
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
Merged. Thanks!
That’s kind of the point though. You can also use
debug
instead oftrace
. Thanks for the feedback. I added a note about only running it on one 😃Thanks again!
I added a section in the README that should help you find out what the problem is: debugging