forked from wearerequired/lint-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
85 lines (85 loc) · 1.93 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
{
"name": "lint-action",
"version": "2.3.0",
"description": "GitHub Action for detecting and fixing linting errors",
"repository": "github:wearerequired/lint-action",
"license": "MIT",
"private": true,
"main": "./dist/index.js",
"scripts": {
"test": "jest",
"lint": "eslint --max-warnings 0 \"**/*.js\"",
"lint:fix": "yarn lint --fix",
"format": "prettier --list-different \"**/*.{css,html,js,json,jsx,less,md,scss,ts,tsx,vue,yaml,yml}\"",
"format:fix": "yarn format --write",
"build": "ncc build ./src/index.js"
},
"dependencies": {
"@actions/core": "^1.10.0",
"command-exists": "^1.2.9",
"glob": "^8.1.0",
"parse-diff": "^0.11.0",
"shescape": "^1.6.4"
},
"peerDependencies": {},
"devDependencies": {
"@samuelmeuli/eslint-config": "^6.0.0",
"@samuelmeuli/prettier-config": "^2.0.1",
"@vercel/ncc": "^0.36.0",
"eslint": "8.32.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.6.7",
"fs-extra": "^11.1.0",
"jest": "^29.3.1",
"prettier": "^2.8.3"
},
"eslintConfig": {
"root": true,
"extends": [
"@samuelmeuli/eslint-config",
"plugin:jsdoc/recommended"
],
"env": {
"node": true,
"jest": true
},
"settings": {
"jsdoc": {
"mode": "typescript"
}
},
"rules": {
"no-await-in-loop": "off",
"no-unused-vars": [
"error",
{
"args": "none",
"varsIgnorePattern": "^_"
}
],
"jsdoc/check-indentation": "error",
"jsdoc/check-syntax": "error",
"jsdoc/newline-after-description": [
"error",
"never"
],
"jsdoc/require-description": "error",
"jsdoc/require-hyphen-before-param-description": "error",
"jsdoc/require-jsdoc": "off"
}
},
"eslintIgnore": [
"node_modules/",
"test/linters/projects/",
"test/tmp/",
"dist/"
],
"jest": {
"setupFiles": [
"./test/mock-actions-core.js"
]
},
"prettier": "@samuelmeuli/prettier-config"
}