Skip to content

Commit c7cb5cb

Browse files
committed
Use github-lint
1 parent d07fa37 commit c7cb5cb

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

package-lock.json

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

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"module": "dist/index.esm.js",
88
"scripts": {
99
"clean": "rm -rf dist",
10-
"lint": "eslint . && flow check",
10+
"lint": "github-lint",
1111
"prebuild": "npm run clean && npm run lint && mkdir dist",
1212
"build-umd": "BABEL_ENV=umd babel index.js -o dist/index.umd.js",
1313
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js",
@@ -28,7 +28,7 @@
2828
"@babel/cli": "^7.2.3",
2929
"@babel/core": "^7.3.3",
3030
"@babel/plugin-transform-modules-umd": "^7.2.0",
31-
"babel-preset-github": "^2.1.1",
31+
"babel-preset-github": "^2.1.2",
3232
"chai": "^4.2.0",
3333
"eslint": "^5.14.1",
3434
"eslint-plugin-github": "^1.9.0",
@@ -40,5 +40,7 @@
4040
"karma-mocha-reporter": "^2.2.5",
4141
"mocha": "^6.0.0"
4242
},
43-
"eslintIgnore": ["dist/"]
43+
"eslintIgnore": [
44+
"dist/"
45+
]
4446
}

0 commit comments

Comments
 (0)