generated from canisminor1990/canisminor-template
-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathindex.ts
33 lines (33 loc) · 876 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
export default {
$schema: 'https://json.schemastore.org/prettierrc',
arrowParens: 'always',
bracketSpacing: true,
endOfLine: 'lf',
importOrder: ['<THIRD_PARTY_MODULES>', '^@/(.*)$', '^[./]'],
importOrderSeparation: true,
importOrderSortSpecifiers: true,
jsonRecursiveSort: false,
jsonSortOrder: '{"*": "lexical"}',
overrides: [
{
files: '*.md',
options: {
proseWrap: 'preserve',
},
},
],
plugins: [
require.resolve('prettier-plugin-sh'),
require.resolve('prettier-plugin-organize-imports'),
require.resolve('prettier-plugin-packagejson'),
require.resolve('prettier-plugin-sort-json'),
require.resolve('@trivago/prettier-plugin-sort-imports'),
],
printWidth: 100,
proseWrap: 'never',
quoteProps: 'consistent',
singleQuote: true,
tabWidth: 2,
trailingComma: 'all',
useTabs: false,
};