Closed amannn closed 11 months ago
This should be set at the prettier level: https://prettier.io/blog/2019/04/12/1.17.0.html#add-an-option-to-modify-when-prettier-quotes-object-properties-5934-by-azz
Or not, this is a bit strange with aria-label
:
type Props = {
'className'?: string;
'isOpen'?: boolean;
onClick(): void;
'aria-label': string;
'inverted'?: boolean;
};
Let's leave this out for now, as there are cases where it's not ideal.
"consistent-as-needed" or "as-needed" would probably be a good idea.
https://eslint.org/docs/rules/quote-props