-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xo-config.json
39 lines (38 loc) · 923 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
30
31
32
33
34
35
36
37
38
39
{
"extends": ["xo", "xo-react", "prettier"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error"],
"capitalized-comments": "off",
"react/react-in-jsx-scope": "off",
"object-curly-spacing": "off",
"@typescript-eslint/triple-slash-reference": "off",
"import/extensions": "off",
"n/file-extension-in-import": "off",
"unicorn/prefer-module": "off",
"new-cap": ["warn"],
"react/no-unescaped-entities": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/prefer-ts-expect-error": "off",
"react/jsx-pascal-case": "off",
"unicorn/filename-case": [
"warn",
{
"case": "kebabCase"
}
]
},
"overrides": [
{
"files": ["**/constants/*.ts"],
"rule": { "@typescript-eslint/naming-convention": "off" }
},
{
"files": ["*.config.js", "*.config.ts"],
"rule": {
"@typescript-eslint/ban-ts-comment": "off",
"new-cap": "off"
}
}
]
}