Enforces consistent semicolon usage at the end of every statement.
Notes
Has Fix
Config
One of the following arguments must be provided:
"always" enforces semicolons at the end of every statement.
"never" disallows semicolons at the end of every statement except for when they are necessary.
The following arguments may be optionally provided:
"ignore-interfaces" skips checking semicolons at the end of interface members.
"ignore-bound-class-methods" skips checking semicolons at the end of bound class methods.
"strict-bound-class-methods" disables any special handling of bound class methods and treats them as any
other assignment. This option overrides "ignore-bound-class-methods".
"jsx-single" enforces single quotes for JSX attributes.
"jsx-double" enforces double quotes for JSX attributes.
"avoid-template" forbids single-line untagged template strings that do not contain string interpolations.
Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are
present in the string (the latter option takes precedence).
"avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required.
For example, [true, "double", "avoid-escape"] would not report a failure on the string literal
'Hello "World"'.
"jsx-single" enforces single quotes for JSX attributes.
"jsx-double" enforces double quotes for JSX attributes.
"avoid-template" forbids single-line untagged template strings that do not contain string interpolations.
Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are
present in the string (the latter option takes precedence).
"avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required.
For example, [true, "double", "avoid-escape"] would not report a failure on the string literal
'Hello "World"'.