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

Switch from Tabs to Spaces #17

Open
samholmes opened this issue Aug 13, 2024 · 2 comments
Open

Switch from Tabs to Spaces #17

samholmes opened this issue Aug 13, 2024 · 2 comments

Comments

@samholmes
Copy link
Contributor

Tabs are goat, but unfortunately, most of the time Tabs are displayed as 4 characters in most GUIs (🤮). For this reason, I'd like to propose changing our formatting rules to 2 spaces for indentation. Ideally we can align closer if not completely with StandardJS rules: https://standardjs.com/rules

@tomatrow
Copy link
Contributor

@samholmes Standards are goat. This we should we use prettier to enforce said rules?

@samholmes
Copy link
Contributor Author

@tomatrow Yes and ESLint should enforce the rules in addition to prettier. There is eslint-config-standard-kit which needs upgrading, but it uses dependencies that configure eslint to follow Standard.js rules

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

No branches or pull requests

2 participants