9 lines
206 B
JavaScript
Executable file
9 lines
206 B
JavaScript
Executable file
const micromatch = require('micromatch')
|
|
module.exports = {
|
|
'*.{ts,tsx}': files => {
|
|
const match = micromatch.not(files, '**/__tests__/*.{ts,tsx}')
|
|
return match.map(file => 'npm run lint')
|
|
}
|
|
}
|
|
|