Page MenuHomePhabricator

added no-var rule to root level eslint
ClosedPublic

Authored by manan on Nov 1 2022, 11:19 AM.
Tags
None
Referenced Files
F3247262: D5516.diff
Fri, Nov 15, 4:25 AM
Unknown Object (File)
Sat, Nov 2, 11:26 PM
Unknown Object (File)
Sat, Nov 2, 11:26 PM
Unknown Object (File)
Sat, Nov 2, 11:25 PM
Unknown Object (File)
Sat, Nov 2, 11:24 PM
Unknown Object (File)
Oct 6 2024, 10:53 PM
Unknown Object (File)
Sep 20 2024, 7:06 PM
Unknown Object (File)
Sep 20 2024, 6:53 PM

Details

Summary

added no-var rule to root level eslint

Test Plan

Went to a few files before committing eslint change, and I was
able to see that var cannot be used.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Nov 1 2022, 1:36 PM
This revision now requires review to proceed.Nov 1 2022, 1:36 PM
.eslintrc.json
38

Most of the rules use strings instead of numbers - I think we should prefer that approach as it is more readable

rule changed from number to string for readability

.eslintrc.json
38

Most of the rules use strings instead of numbers - I think we should prefer that approach as it is more readable

Fixed!

This revision is now accepted and ready to land.Nov 2 2022, 12:23 PM