1 # disallow unnecessary semicolons (no-extra-semi)
3 Typing mistakes and misunderstandings about where semicolons are required can lead to semicolons that are unnecessary. While not technically an error, extra semicolons can cause confusion when reading code.
7 This rule disallows unnecessary semicolons.
9 Examples of **incorrect** code for this rule:
12 /*eslint no-extra-semi: "error"*/
33 Examples of **correct** code for this rule:
36 /*eslint no-extra-semi: "error"*/
44 var bar = function() {
63 If you intentionally use extra semicolons then you can disable this rule.
68 * [semi-spacing](semi-spacing.md)