interface/remark-break: lint
@@ -4,9 +4,9 @@ function lineBreak(eat, value: string, silent) {
let index = -1;
let character: string | null;
while(++index < length ) {
- character = value.charAt(index)
+ character = value.charAt(index);
if(character === '\n') {
- eat(character)({type : 'break' })
+ eat(character)({ type : 'break' });
} else {
return;
}
@@ -15,7 +15,7 @@ function lineBreak(eat, value: string, silent) {
lineBreak.locator = function(value, fromIndex) {
return value.indexOf('\n', fromIndex);
-}
+};
export default function plugin() {
this.Parser.prototype.blockTokenizers.break = lineBreak;
