mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
done
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
module.exports = {
|
||||
printWidth: 120,
|
||||
singleQuote: true,
|
||||
tabWidth: 2,
|
||||
useTabs: false,
|
||||
semi: true,
|
||||
quoteProps: 'as-needed',
|
||||
jsxSingleQuote: false,
|
||||
trailingComma: 'es5',
|
||||
bracketSpacing: true,
|
||||
bracketSameLine: false,
|
||||
arrowParens: 'always',
|
||||
plugins: ['@ianvs/prettier-plugin-sort-imports'],
|
||||
importOrder: [
|
||||
'.css$',
|
||||
'.styles$',
|
||||
'',
|
||||
'<TYPES>',
|
||||
'',
|
||||
'^__',
|
||||
'',
|
||||
'^node:',
|
||||
'<BUILTIN_MODULES>',
|
||||
'',
|
||||
'^react',
|
||||
'^prop-types$',
|
||||
'',
|
||||
'<THIRD_PARTY_MODULES>',
|
||||
'',
|
||||
'.+__deprecated__',
|
||||
'',
|
||||
'^@mux',
|
||||
'',
|
||||
'^@',
|
||||
'',
|
||||
'^[$]',
|
||||
'^[../]',
|
||||
'^(?!.*[.](svg|png|webp|mp4)$)[./].*$',
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user