ecoCode-javascript icon indicating copy to clipboard operation
ecoCode-javascript copied to clipboard

Add rule "Single quote instead of quotation mark"

Open Clmnt-Cash opened this issue 8 months ago • 2 comments

Solution you'd like

Using single quote instead of quotation mark to avoid unecessary computations.

Is your feature request related to a problem?

No response

Alternatives you've considered

No response

Additional Information

Team LESS will deal with it.

Clmnt-Cash avatar May 20 '25 15:05 Clmnt-Cash

Is this related to https://github.com/green-code-initiative/creedengo-javascript/issues/28?

utarwyn avatar May 20 '25 16:05 utarwyn

It seems this rule is already implemented in stylistic eslint and prettier : https://eslint.style/packages/js https://prettier.io/docs/options.html#quotes

Rdulieu avatar May 21 '25 07:05 Rdulieu