Fixes lint issue #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lint-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
labeled loop causes build to break.
babel doesn't seem to understand "if statement followed by label loop" and throws the following error -
node_modules/@codemirror/lint/dist/index.js: Property body expected type of array but got nullThe suggested PR fixes this by adding curly braces to the if statement.
I think you should file this as a Babel bug, since that's where the problem lies. Have you tried?
Getting the same error in react making use codemirror/lint
node_modules/@codemirror/lint/dist/index.js: Property body expected type of array but got null
Need to make use of this library. May I know the fix?
@vidhlakh Upgrading babel fixed it for me.
Pull request closed