16 lines
285 B
JavaScript
16 lines
285 B
JavaScript
/**
|
|
* Prettier 配置
|
|
*
|
|
*/
|
|
module.exports = {
|
|
endOfLine: 'lf',
|
|
semi: true,
|
|
singleQuote: true,
|
|
printWidth: 100,
|
|
tabWidth: 2,
|
|
trailingComma: 'all',
|
|
proseWrap: 'preserve',
|
|
tailwindFunctions: ['clsx', 'tw'],
|
|
plugins: ['prettier-plugin-tailwindcss'],
|
|
};
|