mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-30 10:56:54 -05:00
14 lines
506 B
JavaScript
14 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'
|
||
|
};
|