Skip to content

Commit 0305fd7

Browse files
chore: add eslint deps and lint script
1 parent b8183cd commit 0305fd7

File tree

2 files changed

+39
-13
lines changed

2 files changed

+39
-13
lines changed

Diff for: package-lock.json

+36-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"docsify": "bin/docsify"
2323
},
2424
"scripts": {
25+
"lint": "eslint .",
2526
"test": "ava e2e/index.js",
2627
"release": "standard-version",
2728
"prebuild": "rimraf bin",
@@ -53,7 +54,8 @@
5354
"devDependencies": {
5455
"ava": "^2.4.0",
5556
"cors": "^2.8.1",
56-
"eslint": "^6.5.1",
57+
"eslint": "^6.8.0",
58+
"eslint-config-xo-space": "^0.22.0",
5759
"execa": "^4.0.0",
5860
"rimraf": "^3.0.0",
5961
"rollup": "^1.27.13",

0 commit comments

Comments
 (0)