Skip to content

Fix config files + reorganize types#184

Open
k-tten wants to merge 2 commits into
AlexzanderFlores:mainfrom
k-tten:fix-config-files
Open

Fix config files + reorganize types#184
k-tten wants to merge 2 commits into
AlexzanderFlores:mainfrom
k-tten:fix-config-files

Conversation

@k-tten
Copy link
Copy Markdown
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
Copy Markdown
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