Skip to content

Commit 30e406f

Browse files
committed
Use github lint and fix the errors reported when linting
1 parent c7f4f78 commit 30e406f

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"scripts": {
1313
"clean": "rm -rf dist",
14-
"lint": "eslint src/ test/ && flow check",
14+
"lint": "github-lint",
1515
"prebuild": "npm run clean && npm run lint && mkdir dist",
1616
"build": "rollup -c && cp src/combobox-nav.js.flow dist/combobox-nav.esm.js.flow && cp src/combobox-nav.js.flow dist/combobox-nav.umd.js.flow",
1717
"test": "karma start test/karma.config.js",

prettier.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
/* @flow */
12
module.exports = require('eslint-plugin-github/prettier.config')

rollup.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ export default {
2626
})
2727
]
2828
}
29-

0 commit comments

Comments
 (0)