forked from MetaMask/metamask-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoxfmt.config.mts
More file actions
42 lines (41 loc) · 977 Bytes
/
Copy pathoxfmt.config.mts
File metadata and controls
42 lines (41 loc) · 977 Bytes
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
import { defineConfig } from 'oxfmt';
import os from 'os';
export default defineConfig({
ignorePatterns: [
'**/*.json',
'*.scss',
'/.github/',
'/.nyc_output/',
'/.storybook/',
'/.yarn/',
'/app/html/partials/partial-head.html',
'/app/scripts/**/*-method-action-types.ts',
'/app/scripts/lib/ppom/ppom.js',
'/app/vendor/',
'/builds/',
'/CHANGELOG*.md',
'/changed-files/',
'/coverage/',
'/development/chromereload.js',
'/development/circular-deps.jsonc',
'/development/ts-migration-dashboard/build/**',
'/dist/',
'/node_modules/',
'/storybook-build/',
'/test-artifacts/',
'/test/e2e/send-eth-with-private-key-test/',
'/test/test-results/',
],
printWidth: 80,
singleQuote: true,
sortPackageJson: false,
endOfLine: os.platform() === 'win32' ? 'crlf' : 'lf',
overrides: [
{
files: ['*.jsonc'],
options: {
trailingComma: 'none',
},
},
],
});