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

Incorrectly defaults to strict mode, no escape hatch #25

Open
ljharb opened this issue Apr 11, 2022 · 0 comments
Open

Incorrectly defaults to strict mode, no escape hatch #25

ljharb opened this issue Apr 11, 2022 · 0 comments

Comments

@ljharb
Copy link
Collaborator

ljharb commented Apr 11, 2022

I need to use with in a readme, and evalmd chokes on it because it defaults to strict mode (which JS does not do, and so neither should evalmd).

If changing that default is a problem, then there'd need to be some kind of way to get out of strict mode into sloppy mode - perhaps an HTML comment before the code block, or an argument passed to the binary?

ljharb added a commit to ljharb/es-shim-unscopables that referenced this issue Apr 11, 2022
`prelint` script disabled, pending reggi/evalmd#25
ljharb added a commit to ljharb/es-shim-unscopables that referenced this issue Apr 11, 2022
`prelint` script disabled, pending reggi/evalmd#25
ljharb added a commit to ljharb/es-shim-unscopables that referenced this issue Apr 11, 2022
`prelint` script disabled, pending reggi/evalmd#25
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

1 participant