fix lint error

This commit is contained in:
Philipp Kühn
2018-11-09 23:01:33 +01:00
parent 35880251cd
commit 0eba7b48b5

View File

@@ -50,7 +50,7 @@ export default class Heading extends Node {
return this.options.levels.map(level => textblockTypeInputRule(
new RegExp(`^(#{1,${level}})\\s$`),
type,
match => ({ level }),
() => ({ level }),
))
}