Skip to content

Commit 5af003a

Browse files
committed
Use github-lint
1 parent 6c0e526 commit 5af003a

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"scripts": {
1717
"clean": "rm -rf dist",
18-
"lint": "eslint . && flow check",
18+
"lint": "github-lint",
1919
"prebuild": "npm run clean && npm run lint && mkdir dist",
2020
"build-umd": "BABEL_ENV=umd babel index.js -o dist/index.umd.js && cp index.js.flow dist/index.umd.js.flow",
2121
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js && cp index.js.flow dist/index.esm.js.flow",
@@ -28,7 +28,7 @@
2828
"@babel/cli": "^7.2.3",
2929
"@babel/core": "^7.2.2",
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.12.0",
3434
"eslint-plugin-github": "^1.9.0",
@@ -39,5 +39,8 @@
3939
"karma-mocha": "^1.3.0",
4040
"karma-mocha-reporter": "^2.2.5",
4141
"mocha": "^5.0.5"
42-
}
42+
},
43+
"eslintIgnore": [
44+
"dist/"
45+
]
4346
}

0 commit comments

Comments
 (0)