Commit 2bcffeed authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: configure prettier to not add trailing comas

jslint complain about trailing commas
parent 7193b12d
Pipeline #22074 failed with stage
...@@ -145,6 +145,7 @@ ...@@ -145,6 +145,7 @@
// see http://json.schemastore.org/prettierrc for supported options. // see http://json.schemastore.org/prettierrc for supported options.
singleQuote: true, singleQuote: true,
tabWidth: 2, tabWidth: 2,
trailingComma: 'none'
}); });
return [ return [
......
...@@ -153,7 +153,8 @@ $script.onload = function() { ...@@ -153,7 +153,8 @@ $script.onload = function() {
plugins: [prettierPlugins.babel], plugins: [prettierPlugins.babel],
// see http://json.schemastore.org/prettierrc for supported options. // see http://json.schemastore.org/prettierrc for supported options.
singleQuote: true, singleQuote: true,
tabWidth: 2 tabWidth: 2,
trailingComma: 'none'
}); });
return [ return [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment