-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
102 lines (102 loc) · 2.63 KB
/
package.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "sourcetab",
"private": true,
"version": "3.3.0",
"scripts": {
"test": "xo",
"build": "npm run build:web -w client && npm run build -w website"
},
"workspaces": [
"brand",
"client",
"website"
],
"dependencies": {
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"xo": "^0.54.1"
},
"prettier": {
"bracketSpacing": false,
"jsxSingleQuote": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all"
},
"xo": {
"extends": "xo-react",
"prettier": true,
"space": 2,
"ignores": [
"website/next-env.d.ts"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-dynamic-delete": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/padding-line-between-statements": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"capitalized-comments": "off",
"import/extensions": [
"error",
"never"
],
"import/no-unassigned-import": "off",
"import/order": [
"error",
{
"pathGroups": [
{
"pattern": "@/**",
"group": "external",
"position": "after"
}
],
"pathGroupsExcludedImportTypes": [
"builtin"
]
}
],
"max-depth": "off",
"n/file-extension-in-import": "off",
"new-cap": "off",
"react/function-component-definition": [
"error",
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
],
"react-hooks/exhaustive-deps": "off",
"react/jsx-no-useless-fragment": "off",
"react/jsx-sort-props": [
"error",
{
"multiline": "last",
"shorthandFirst": true
}
],
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"unicorn/filename-case": [
"error",
{
"cases": {
"camelCase": true,
"pascalCase": true
}
}
],
"unicorn/no-array-reduce": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prevent-abbreviations": "off"
}
}
}