Strings must use singlequote how to disable this rule in eslint?
Strings must use singlequote
how to disable this rule in eslint?
2 Replies
https://eslint.org/docs/latest/rules/quotes
sticking
"quotes": "double",
in your rules property in .eslintrc
should do the trick if you want to use double quotes everywhere. If you don't care about quote linting at all, use "quotes": 0
quotes - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
dont know how, but it got resolved after sometime automatically