[go: nahoru, domu]

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

prefer arrow fns, turn off no-var in .js files #2107

Merged
merged 3 commits into from
Apr 6, 2020
Merged

Conversation

bkendall
Copy link
Contributor
@bkendall bkendall commented Apr 6, 2020

Description

  1. Sets preference for arrow functions in callbacks in TS files.
  2. Turns off no-var checking in JS files (which silences ~1500 messages).

Turning off no-var: since we're really trying to move to TS, I don't think it's worth being super noisy about var. New code should fix it as is required, but we're not going to go clean these up (and I don't want to automatically do it because then it touches nearly every file's history again, which is not super useful)

@googlebot googlebot added the cla: yes Manual indication that this has passed CLA. label Apr 6, 2020
@samtstern
Copy link
Contributor

❤️

@bkendall bkendall merged commit 7d996da into master Apr 6, 2020
@bkendall bkendall deleted the bk-arrow-fns branch April 6, 2020 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Manual indication that this has passed CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants