Skip to content

Instantly share code, notes, and snippets.

@tofumatt
Created April 21, 2016 11:06
Show Gist options
  • Save tofumatt/60da15c2786c15333dcf6d7987221804 to your computer and use it in GitHub Desktop.
Save tofumatt/60da15c2786c15333dcf6d7987221804 to your computer and use it in GitHub Desktop.
add hidden file scanner
// Line 372 in linter.js
scan(deps={}) {
return this.extractMetadata(deps)
.then((addonMetadata) => {
if (addonMetadata.hiddenFiles.length) {
// Make a warning
}
return;
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment