Skip to content

Commit

Permalink
Missed lint-removal
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Sep 13, 2024
1 parent dbe44cb commit d573077
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 49 deletions.
1 change: 0 additions & 1 deletion ui/packages/consul-ui/app/components/code-editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export default Component.extend({

const editor = this.editor;
editor.setOption('mode', mode.mime);
this.helper.lint(editor, mode.mode);
set(this, 'mode', mode);
}
},
Expand Down
5 changes: 0 additions & 5 deletions ui/packages/consul-ui/app/services/code-mirror/linter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import Service, { inject as service } from '@ember/service';
import lint from 'consul-ui/utils/editor/lint';
const MODES = [
{
name: 'JSON',
Expand Down Expand Up @@ -41,10 +40,6 @@ export default class LinterService extends Service {
return MODES;
}

lint() {
return lint(...arguments);
}

getEditor(element) {
return this.dom.element('textarea + div', element).CodeMirror;
}
Expand Down
43 changes: 0 additions & 43 deletions ui/packages/consul-ui/app/utils/editor/lint.js

This file was deleted.

0 comments on commit d573077

Please sign in to comment.