forked from wearerequired/lint-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.78 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
{
"name": "lint-action",
"version": "1.4.0",
"description": "GitHub Action for detecting and fixing linting errors",
"author": {
"name": "Samuel Meuli",
"email": "me@samuelmeuli.com",
"url": "https://samuelmeuli.com"
},
"repository": "github:samuelmeuli/lint-action",
"license": "MIT",
"private": true,
"main": "./src/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"
},
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@samuelmeuli/eslint-config": "^6.0.0",
"@samuelmeuli/prettier-config": "^2.0.1",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsdoc": "^22.1.0",
"fs-extra": "^9.0.0",
"jest": "^25.2.3",
"prettier": "^2.0.2"
},
"eslintConfig": {
"root": true,
"extends": [
"@samuelmeuli/eslint-config",
"plugin:jsdoc/recommended"
],
"env": {
"node": true,
"jest": true
},
"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/"
],
"jest": {
"globalSetup": "./test/setup.js",
"globalTeardown": "./test/teardown.js"
},
"prettier": "@samuelmeuli/prettier-config"
}