Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

turn off function no-use-before-define rule #2880

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

Lijiaoa
Copy link
Contributor

@Lijiaoa Lijiaoa commented Sep 10, 2020

  • This rule accepts "nofunc" string as an option. "nofunc" is the same as { "functions": false, "classes": true, "variables": true }.

  • It's correct:

f();
function f() {}

  • still check variables and class

@Lijiaoa Lijiaoa mentioned this pull request Sep 10, 2020
@liuzhe-lz liuzhe-lz merged commit e503403 into microsoft:master Sep 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants