npm run dev
reports eslint errorsCheck your .eslintrc.js
file, you can either set the value of the quotes
rule to double
or set the error level to warning
or disable it altogether. Have a look at the docs. This would be an example:
"rules": {
"quotes": ["error", "double"]
}
quotes: [0, "double"]
works for me
Sometimes it is cumbersome to find a specific syntax to disallow a specific eslint rule. In this situations you can use "global" disabling for a code block as the following:
/*eslint-disable */
//suppress all warnings between comments
console.info("foo");
/*eslint-enable */
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With