chore [P-01]: Докер
This commit is contained in:
1 parent
29cf9b2a14
commit
bc6668c54c
225 files changed
+398
-1409
No files matched your search
@@ -0,0 +1,10 @@
|
||||
// lint-staged.config.js
|
||||
import micromatch from 'micromatch'
|
||||
|
||||
export default {
|
||||
'*.js': (files) => {
|
||||
// from `files` filter those _NOT_ matching `*test.js`
|
||||
const match = micromatch.not(files, ['*/**/*test.js','*/**/documentation/*'])
|
||||
return `eslint ${match.join(' ')}`
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user