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

Rule defaults (recommended) #5

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Rule defaults (recommended) #5

merged 1 commit into from
Jan 19, 2024

Conversation

chuck-dbos
Copy link
Collaborator

These seem sensible, and the demo apps pass:

  • No implied eval (base, for security)
  • semi (recommended, auto-fix)
  • No misused / floating promises (recommended)
  • Require === / !== etc. (recommended)
  • No "for (const x in array)" (recommended, because you certainly meant "of")
  • No shadow - (extended suggestion)

@chuck-dbos chuck-dbos merged commit 1f0a97e into main Jan 19, 2024
1 check passed
@chuck-dbos chuck-dbos deleted the chuck/rules2 branch January 25, 2024 17:00
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