-
Notifications
You must be signed in to change notification settings - Fork 13
/
prettier.config.js
54 lines (53 loc) · 1.47 KB
/
prettier.config.js
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Copyright (c) Mysten Labs, Inc.
// Modifications Copyright (c) 2024 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
module.exports = {
printWidth: 100,
semi: true,
singleQuote: true,
tabWidth: 4,
trailingComma: 'all',
useTabs: false,
overrides: [
{
files: 'apps/explorer/**/*',
options: {
plugins: ['prettier-plugin-tailwindcss'],
tailwindConfig: './apps/explorer/tailwind.config.ts',
},
},
{
files: 'apps/wallet/**/*',
options: {
plugins: ['prettier-plugin-tailwindcss'],
tailwindConfig: './apps/wallet/tailwind.config.ts',
},
},
{
files: 'apps/wallet-dashboard/**/*',
options: {
plugins: ['prettier-plugin-tailwindcss'],
tailwindConfig: './apps/wallet-dashboard/tailwind.config.ts',
},
},
{
files: 'apps/ui-kit/**/*',
options: {
plugins: ['prettier-plugin-tailwindcss'],
tailwindConfig: './apps/ui-kit/tailwind.config.ts',
},
},
{
files: 'sdk/**/*',
options: {
proseWrap: 'always',
},
},
{
files: 'external-crates/move/documentation/book/**/*',
options: {
proseWrap: 'always',
},
},
],
};