Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix config files + reorganize types #184

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix config files + reorganize types #184

wants to merge 2 commits into from

Conversation

k-tten
Copy link
Contributor

@k-tten k-tten commented Oct 16, 2021

Files added/modified

  • .prettierrc.json - Contributors now will all have the same format
  • .gitignore - Ignore dist
  • .npmignore - Prevent npm from publishing useless files like src/ and tsconfig.json for smaller bundle sizes

Deleted index.js and typings.d.ts

Moved types from typings.d.ts to src/types.ts, and changed imports in files to accommodate this*

Ran prettier --write . to ensure consistent formatting

@tippfehlr
Copy link
Contributor

I can't say anything about the other changes but add

  "semi": false,
  "comma": "es5",
  "singleQuote": true

to the prettier config to match existing code

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.

2 participants