Skip to content

Conversation

@typicode
Copy link
Owner

No description provided.

@typicode typicode merged commit 6b5d9df into main Jan 25, 2024
@typicode typicode deleted the fix--init-create-dir-if-it-doesn't-exist branch January 25, 2024 13:58
d.scripts.prepare = 'husky'
w('package.json', JSON.stringify(d, null, /\t/.test() ? '\t' : 2) + '\n')
process.stdout.write(i())
try { f.mkdirSync('.husky') } catch {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unidented commit. seems to use tab while rest of the code use spaces

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was a mistake. It was fixed by another commit (using tabs with .editorconfig)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Time to dogfood and setup git hooks to husky repo to auto lint? ;)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahah probably :D Dog fooding json-server already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants