ReSharper 2023.1 Help

EditorConfig properties for JavaScript: CodeStyle

Quotes

Quote style

Property names:

[resharper_]js_quote_style, [resharper_]quote_style

Defines whether single-quotes (') or double-quotes (") should be used for string literals

Possible values:

  • singlequoted: Apostrophe: '

  • single_quoted: Apostrophe: '

  • doublequoted: Quote: "

  • double_quoted: Quote: "

Statements

Defines how statements are terminated

Property names:

[resharper_]js_termination_style, [resharper_]termination_style

Defines how statements are terminated

Possible values:

  • ensure_semicolon: Ensure semicolons

  • drop_semicolon: Drop semicolons

Last modified: 27 March 2023