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

Add eslint #28

Merged
merged 8 commits into from
Sep 24, 2024
Merged

Add eslint #28

merged 8 commits into from
Sep 24, 2024

Conversation

SamCarlberg
Copy link
Member

This project was in sore need of consistent styling

  • No semicolons
  • All strings must be double quoted, except for string templates and strings that would need to escape a double quote char
  • Consistent indentation levels
  • Whitespace within braces (imports, templates, object literals, etc)
  • EOL at EOF

Require double quotes, except for templates or string literals that contain a double quote char (in which case single quotes or backticks are permitted, to avoid needing to escape)

Only allow quoted property names if any property name in the object needs to be quoted (and then all properties must be quoted)
@SamCarlberg SamCarlberg merged commit b558026 into wpilibsuite:main Sep 24, 2024
1 check passed
@SamCarlberg SamCarlberg deleted the eslint branch September 24, 2024 03:34
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.

1 participant