Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Feb 25, 2021
1 parent 063da98 commit f073de4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
'(src|test)/**/*.[tj]s': (filenames) => [`eslint --fix ${filenames.join(' ')}`, 'node --require babel-register-ts test'],
'(src|test)/**/*.[tj]s': (filenames) => [
`eslint --fix ${filenames.join(' ')}`,
'node --require babel-register-ts test',
],
'(README).md': ["doctoc --title '**Table of Contents**'"],
}
};

0 comments on commit f073de4

Please sign in to comment.