mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-24 11:45:26 +03:00
23aa7db57d
* Add prettier sort * Fix prettier setting in eslint * Apply prettier * Fix depdencies * Add .yarn folder in excludes of vitest * Revert pick I don't know why this is changed
19 lines
528 B
JavaScript
19 lines
528 B
JavaScript
module.exports = {
|
|
arrowParens: 'avoid',
|
|
bracketSameLine: false,
|
|
bracketSpacing: true,
|
|
endOfLine: 'lf',
|
|
jsxSingleQuote: false,
|
|
printWidth: 120,
|
|
proseWrap: 'preserve',
|
|
quoteProps: 'as-needed',
|
|
semi: true,
|
|
singleQuote: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'es5',
|
|
plugins: [require.resolve('@trivago/prettier-plugin-sort-imports')],
|
|
importOrder: ['^vitest', '^es-toolkit', '<THIRD_PARTY_MODULES>', '^@(.*)$', '^[.]/', '^[.]{2,}/'],
|
|
importOrderSortSpecifiers: true,
|
|
importOrderCaseInsensitive: true,
|
|
};
|