forked from salesforce/eslint-config-lwc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.36 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
{
"name": "@salesforce/eslint-config-lwc",
"version": "0.7.0",
"main": "index.js",
"license": "MIT",
"description": "Opinionated ESLint configurations for LWC projects",
"keywords": [
"eslint",
"eslint-config",
"lwc",
"salesforce"
],
"scripts": {
"format": "prettier --write \"**/*.{js,md}\"",
"lint": "eslint",
"test": "mocha"
},
"dependencies": {
"@lwc/eslint-plugin-lwc": "~0.10.0",
"babel-eslint": "~10.1.0",
"eslint-plugin-import": "~2.20.2",
"eslint-plugin-jest": "~23.8.2",
"eslint-restricted-globals": "~0.2.0"
},
"devDependencies": {
"eslint": "^6.8.0",
"husky": "^4.2.5",
"lint-staged": "^10.1.6",
"mocha": "^7.1.1",
"prettier": "^2.0.4"
},
"peerDependencies": {
"eslint": "^6.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/salesforce/eslint-config-lwc.git"
},
"engines": {
"node": ">=10.0.0"
},
"files": [
"lib",
"base.js",
"extended.js",
"index.js",
"recommended.js"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn format"
}
},
"lint-staged": {
"*.js": [
"eslint"
],
"*.{js,md}": [
"prettier --write"
]
},
"mocha": {
"slow": 500
},
"prettier": {
"printWidth": 100,
"tabWidth": 4,
"singleQuote": true,
"trailingComma": "all"
}
}