bee3c7e847
This commit is the result of running `yarn eslint --fix` after enabling the `no-implicit-coercion` ESLint rule. This rule has been added to our ESLint config here: https://gitlab.com/gitlab-org/gitlab-eslint-config/merge_requests/14
17 lines
332 B
JavaScript
17 lines
332 B
JavaScript
export const defaultEditorOptions = {
|
|
model: null,
|
|
readOnly: false,
|
|
contextmenu: true,
|
|
scrollBeyondLastLine: false,
|
|
minimap: {
|
|
enabled: false,
|
|
},
|
|
wordWrap: 'on',
|
|
};
|
|
|
|
export default [
|
|
{
|
|
readOnly: model => Boolean(model.file.file_lock),
|
|
quickSuggestions: model => !(model.language === 'markdown'),
|
|
},
|
|
];
|