CKEDITOR.config.extraPlugins = "structuredheadings";

var initSample = ( function() {

    return function() {
      var editorElement = CKEDITOR.document.getById("editor");
      CKEDITOR.replace("editor");
    };
})();


/* exported initSample */
CKEDITOR.config.extraPlugins = "structuredheadings";

var initSample = function () {
  CKEDITOR.replace("editor");
  return;
};

Make ESLint happy with Main.js
Make ESLint happy with Main.js