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

Branch destructure after function #459

Merged

Conversation

kaizhu256
Copy link
Member

  • jslint - Allow destructuring-assignment after function-definition.

This PR relaxes warning about [] operator appearing after a function definition, due to it now being legal-syntax for destructuring-assignment, e.g.

let aa;
let bb;
function foo() {
    return [1, 2];
}
[aa, bb] = foo();  // jslint previously would warn here

this PR will additionally:

  • ci - Replace npm-package used to auto-build vscode-plugin, vsce to @vscode/vsce.

@kaizhu256 kaizhu256 merged commit 45a5319 into jslint-org:beta Mar 21, 2024
12 checks passed
@kaizhu256 kaizhu256 deleted the branch_destructure_after_function branch March 21, 2024 05:39
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