forked from wearerequired/lint-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.01 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
{
"name": "lint-action",
"version": "1.9.0",
"description": "GitHub Action for detecting and fixing linting errors",
"author": {
"name": "Samuel Meuli",
"email": "[email protected]",
"url": "https://samuelmeuli.com"
},
"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.2.6",
"command-exists": "^1.2.9",
"parse-diff": "^0.7.1"
},
"peerDependencies": {},
"devDependencies": {
"@samuelmeuli/eslint-config": "^6.0.0",
"@samuelmeuli/prettier-config": "^2.0.1",
"@vercel/ncc": "^0.27.0",
"eslint": "7.21.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^32.2.0",
"fs-extra": "^9.1.0",
"jest": "^26.6.3",
"prettier": "^2.2.1"
},
"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": {
"globalSetup": "./test/setup.js",
"globalTeardown": "./test/teardown.js"
},
"prettier": "@samuelmeuli/prettier-config"
}