.prettierrc.js 304 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module.exports = {
    printWidth: 120,
    semi: true,
    singleQuote: true,
    trailingComma: 'all',
    bracketSpacing: true,
    jsxBracketSameLine: false,
    jsxSingleQuote: true,
    quoteProps: 'as-needed',
    arrowParens: 'avoid',
    tabWidth: 4,
    useTabs: false,
    endOfLine: 'lf',
};