Skip to content

Commit

Permalink
chore: fix lint-staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowgate15 committed Jun 5, 2022
1 parent 7a8062c commit c0a3863
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
module.exports = {
"*.md,!test/snapshots/**/*.md,!test/**/snapshots/**/*.md,!locales/README.md": [
filenames => filenames.map(filename => `remark ${filename} -qfo`),
'git add'
'*.md,!test/snapshots/**/*.md,!test/**/snapshots/**/*.md,!locales/README.md': [
(filenames) => filenames.map((filename) => `remark ${filename} -qfo`)
],
'package.json': ['fixpack', 'git add'],
'*.js': ['xo --fix', 'git add ']
'package.json': ['fixpack'],
'*.js': ['xo --fix']
};

0 comments on commit c0a3863

Please sign in to comment.