diff options
Diffstat (limited to '.prettierrc')
-rw-r--r-- | .prettierrc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.prettierrc b/.prettierrc index 5e2863a11f6..748cfcae65f 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,13 @@ { "printWidth": 100, "singleQuote": true, - "trailingComma": "all" + "trailingComma": "es5", + "overrides": [ + { + "files": ["app/assets/javascripts/*", "spec/javascripts/*"], + "options": { + "trailingComma": "all" + } + } + ] } |