Tell us about your environment
What did you do? Please include the actual source code causing the issue.
|
const LAYOUT_SCRIPTS_DEFAULT = 'MarkBind.afterSetup(() => {\n' |
|
+ ' // Include code to be called after MarkBind setup here.\n' |
|
+ '});\n'; |
The default content needs a // eslint-disable-next-line no-undef. In other words, it should be like this:
const LAYOUT_SCRIPTS_DEFAULT = '// eslint-disable-next-line no-undef\n'
+ 'MarkBind.afterSetup(() => {\n'
+ ' // Include code to be called after MarkBind setup here.\n'
+ '});\n';
Otherwise, projects that uses eslint (such as MarkBind) will complain about a no-undef error.
Tell us about your environment
What did you do? Please include the actual source code causing the issue.
markbind/src/Site.js
Lines 170 to 172 in cf57489
The default content needs a
// eslint-disable-next-line no-undef. In other words, it should be like this:Otherwise, projects that uses eslint (such as MarkBind) will complain about a no-undef error.