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

draft: add eslint rule restrict-template-expressions #2325

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 31, 2023

  1. frontend: add eslint rule restrict-template-expressions

    So that we do not accidentally pass undefined, null, booleans or
    just any type in tempalte literals, see:
    
        `all these should error ${false} ${undefined} ${[]} ${null}`
    
    This is a eslint rule, so only make weblint will check.
    thisconnect committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    cd023a2 View commit details
    Browse the repository at this point in the history