-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.23 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
{
"name": "frontend",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix": "eslint . --fix",
"prettier": "prettier --write --single-quote ./components/ ./pages/",
"prettier:check": "prettier --single-quote --check ./components/ ./pages/"
},
"eslintConfig": {
"extends": [
"airbnb-typescript",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"import/order": "off",
"import/prefer-default-export": "off",
"no-underscore-dangle": "off",
"react/require-default-props": "off",
"max-len": [
"warn",
{
"code": 160
}
],
"react/destructuring-assignment": "warn",
"react/jsx-props-no-spreading": [
1,
{
"exceptions": [
"input",
"textarea",
"Field"
]
}
],
"jsx-a11y/label-has-associated-control": [
2,
{
"labelComponents": [],
"labelAttributes": [],
"controlComponents": [
"Select",
"RequiredSelect",
"MoneyInput",
"Field",
"CustomInput"
],
"assert": "both",
"depth": 4
}
]
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": [
"*.config.js",
"*.test.ts",
"*.test.tsx",
"build/*"
]
},
"dependencies": {
"@headlessui/react": "^1.6.3",
"@heroicons/react": "^1.0.6",
"next": "12.1.6",
"prettier": "^2.6.2",
"prettier-eslint": "^15.0.1",
"react": "18.1.0",
"react-dom": "18.1.0"
},
"devDependencies": {
"@types/node": "^17.0.36",
"@types/react": "^18.0.9",
"autoprefixer": "^10.4.7",
"eslint": "^8.16.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-next": "12.1.6",
"postcss": "^8.4.5",
"tailwindcss": "^3.0.24",
"typescript": "^4.7.2"
}
}