Skip to content

Commit 971cbb1

Browse files
Add yaml linting (closes #14)
1 parent 2f50170 commit 971cbb1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

public/components/rules/editor/editor.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
EuiFieldText,
1414
EuiSpacer
1515
} from '@elastic/eui';
16+
import 'brace/mode/yaml';
1617
import 'brace/theme/github';
1718
import 'brace/ext/language_tools';
1819
import { addToast } from '../../toast/toast';
@@ -139,6 +140,7 @@ export default class Editor extends Component {
139140
/>
140141
</EuiFormRow>
141142
<EuiCodeEditor
143+
mode="yaml"
142144
theme="github"
143145
width="100%"
144146
height="400px"

0 commit comments

Comments
 (0)