-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xo-config.json
30 lines (29 loc) · 843 Bytes
/
.xo-config.json
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
{
"rules": {
"arrow-parens": "off",
"quotes": ["error", "double"],
"object-curly-spacing": ["error", "always"],
"object-shorthand": ["error", "always", { "avoidExplicitReturnArrows": false }],
"unicorn/no-process-exit": "off"
},
"overrides": [
{
"files": "**/*.{ts,cts,mts,tsx}",
"rules": {
"quotes": "off",
"object-curly-spacing": "off",
"@typescript-eslint/quotes": ["error", "double"],
"@typescript-eslint/object-curly-spacing": ["error", "always"],
"@typescript-eslint/no-confusing-void-expression": ["error", { "ignoreArrowShorthand": true }],
"n/file-extension-in-import": ["error", "always", { ".ts": "always" }],
"@typescript-eslint/prefer-regexp-exec": "off"
}
},
{
"files": "test/fixtures/**/*.*",
"rules": {
"import/no-extraneous-dependencies": "off"
}
}
]
}