mirror of
https://gitee.com/antv/g6.git
synced 2024-11-29 10:18:14 +08:00
cb7a763446
* chore: optimize project configs
19 lines
346 B
JavaScript
19 lines
346 B
JavaScript
module.exports = {
|
|
plugins: [
|
|
require.resolve('prettier-plugin-organize-imports'),
|
|
require.resolve('prettier-plugin-packagejson'),
|
|
],
|
|
printWidth: 120,
|
|
proseWrap: 'never',
|
|
singleQuote: true,
|
|
trailingComma: 'all',
|
|
overrides: [
|
|
{
|
|
files: '*.md',
|
|
options: {
|
|
proseWrap: 'preserve',
|
|
},
|
|
},
|
|
],
|
|
};
|