mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-30 02:55:35 -05:00
c48b5c0cec
Based on GitLab commit b7d0c1d555c9358a7fb2141b14730bcdb85c0654
13 lines
506 B
JavaScript
13 lines
506 B
JavaScript
// Documentation for this file: https://prettier.io/docs/en/configuration.html
|
|
module.exports = {
|
|
// We use a larger print width because Prettier's word-wrapping seems to be tuned
|
|
// for plain JavaScript without type annotations
|
|
printWidth: 110,
|
|
// Microsoft style quotes
|
|
singleQuote: true,
|
|
// Preserve existing newlines
|
|
endOfLine: 'auto',
|
|
// For ES5, trailing commas cannot be used in function parameters; it is counterintuitive
|
|
// to use them for arrays only
|
|
trailingComma: 'none'
|
|
};
|