Skip to content

Commit 4699a21

Browse files
committed
chore: dogfood
1 parent e9d4ee6 commit 4699a21

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

Diff for: .prettierrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["."]
3+
}

Diff for: package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
"ci:test": "npm run test -- --verbose",
1919
"commitlint": "commitlint",
2020
"commitmsg": "commitlint -e $GIT_PARAMS",
21-
"lint": "eslint --fix --cache lib test",
21+
"lint": "eslint --fix --cache lib test && prettier --write package.json",
2222
"lint-staged": "lint-staged",
23+
"prepublishOnly": "npm run lint",
2324
"security": "npm audit",
2425
"test": "ava"
2526
},
@@ -28,6 +29,12 @@
2829
"README.md",
2930
"LICENSE"
3031
],
32+
"keywords": [
33+
"package",
34+
"package.json",
35+
"plugin",
36+
"prettier"
37+
],
3138
"peerDependencies": {
3239
"prettier": "^1.18.2"
3340
},
@@ -43,12 +50,6 @@
4350
"pre-commit": "^1.2.2",
4451
"prettier": "^1.18.2"
4552
},
46-
"keywords": [
47-
"package",
48-
"package.json",
49-
"plugin",
50-
"prettier"
51-
],
5253
"ava": {
5354
"files": [
5455
"!**/fixtures/**"

0 commit comments

Comments
 (0)