-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 937 Bytes
/
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
{
"name": "pre-commit-linting",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"postinstall": ""
},
"repository": {
"type": "git",
"url": "git+https://github.com/sadmansh/pre-commit-linting.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx}": [
"eslint --fix"
],
"**/*.{scss,sass}": [
"prettier --write"
],
"**/*.php": [
"php ./vendor/bin/phpcs ."
]
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/sadmansh/pre-commit-linting/issues"
},
"homepage": "https://github.com/sadmansh/pre-commit-linting#readme",
"devDependencies": {
"eslint": "^8.8.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^4.3.8",
"lint-staged": "^12.3.3",
"prettier": "^2.5.1"
}
}