Play with flow type checker

This commit is contained in:
squidfunk
2017-02-19 17:19:30 +01:00
parent 3e50c3394a
commit af4db15a27
8 changed files with 11375 additions and 2 deletions

View File

@@ -55,6 +55,11 @@ export default (gulp, config) => {
file.eslint.results[0].filePath =
path.relative(process.cwd(), file.path)
// const contents = `/* @flow */\n\n${file.contents.toString()}`
// const flowJsdoc = require("flow-jsdoc")
// const annotatedContents = flowJsdoc(contents)
// console.log(annotatedContents)
/* Push file to next stage */
this.push(file)
done()