Skip to content

Commit

Permalink
Use pretty-quick in "create" cmd (#51)
Browse files Browse the repository at this point in the history
Use pretty-quick in "create" cmd
  • Loading branch information
jaredpalmer authored Apr 30, 2019
2 parents cda6ab7 + a7f928a commit f479d03
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,7 @@ prog
},
husky: {
hooks: {
'pre-commit': 'lint-staged',
},
},
'lint-staged': {
linters: {
'*.{ts,tsx,js,jsx,css,scss,md}': [
'prettier --trailing-comma es5 --single-quote --write',
'git add',
],
ignore: ['**/dist/*, **/node_modules/*'],
'pre-commit': 'pretty-quick --staged',
},
},
prettier: {
Expand All @@ -172,7 +163,7 @@ prog
const deps = [
'@types/jest',
'husky',
'lint-staged',
'pretty-quick',
'prettier',
'tsdx',
'typescript',
Expand Down

0 comments on commit f479d03

Please sign in to comment.