ignore rust code when doing hygenie check
parent
3762635fe1
commit
a9e38fe925
|
@ -15,3 +15,4 @@ yarn-error.log
|
|||
vscode.lsif
|
||||
vscode.db
|
||||
/.profile-oss
|
||||
/cli/target
|
||||
|
|
|
@ -10,6 +10,7 @@ const vfs = require('vinyl-fs');
|
|||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const pall = require('p-all');
|
||||
|
||||
const { all, copyrightFilter, unicodeFilter, indentationFilter, tsFormattingFilter, eslintFilter } = require('./filters');
|
||||
|
||||
const copyrightHeaderLines = [
|
||||
|
@ -291,7 +292,7 @@ if (require.main === module) {
|
|||
.then(
|
||||
(vinyls) =>
|
||||
new Promise((c, e) =>
|
||||
hygiene(es.readArray(vinyls))
|
||||
hygiene(es.readArray(vinyls).pipe(filter(all)))
|
||||
.on('end', () => c())
|
||||
.on('error', e)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue