-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 1.85 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
{
"name": "adventjs-challenges",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"prepare": "husky install",
"format": "prettier -wu .",
"format:check": "prettier -cu .",
"lint": "eslint --fix ./**/*.{js,jsx,ts,tsx}",
"lint:check": "eslint ./**/*.{js,jsx,ts,tsx}",
"test": "vitest run",
"test:cov": "vitest run --coverage",
"test:watch": "vitest --watch",
"typecheck": "tsc --noEmit",
"check": "npm run format:check && npm run lint:check && npm run typecheck"
},
"devDependencies": {
"@types/kind-of": "6.0.3",
"@types/node": "20.10.3",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"@vitest/coverage-v8": "1.0.1",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard-with-typescript": "40.0.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-n": "16.3.1",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-promise": "6.1.1",
"husky": "8.0.3",
"kind-of": "6.0.3",
"lint-staged": "15.2.0",
"prettier": "3.1.0",
"typescript": "5.3.2",
"vitest": "1.0.1"
},
"eslintConfig": {
"extends": [
"standard-with-typescript",
"plugin:prettier/recommended"
],
"parserOptions": {
"project": "tsconfig.json"
},
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/prefer-optional-chain": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/require-array-sort-compare": "off"
}
},
"prettier": {
"printWidth": 80,
"singleQuote": true,
"semi": false,
"arrowParens": "avoid"
},
"lint-staged": {
"*.{js,ts}": "pnpm eslint --fix",
"*.{json,js,ts,md}": "pnpm prettier -w"
}
}