Skip to content

πŸ›  Tooling: suggestion to use spaces only for readme.md b/c of npmjs.comΒ #2277

@tylersayshi

Description

@tylersayshi

Tooling Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

this is only a recommendation and the more correct fix would be better default tab spaces view on npmjs.com, but that sounds unlikely?

here's an example of when it's bad
https://www.npmjs.com/package/prototypey/v/0.2.3

screenshot of prototypey code snippet from readme on npmjs with tabs - the space is dramatic and hardly readable

vs with spaces
https://www.npmjs.com/package/prototypey/v/0.2.4

screenshot of prototypey code snippet from readme on npmjs with spaces - it uses 2 spaces from prettier so it reads well visually

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: toolingManaging the repository's maintenancestatus: in discussionNot yet ready for implementation or a pull request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions