-
Notifications
You must be signed in to change notification settings - Fork 699
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
Add prefer-const linting rule to kolibri-tools #9867
Comments
I think it may be possible to add this rule even without #9698 being merged, so please do go ahead and give this a go! |
i wanted to work on the issue please assign me the issue |
Thank you! Any advice on how I might be able to get the issue assigned? |
Hey, is someone working on this issue ? |
No
…On Fri, 20 Jan 2023, 5:14 pm Mayank Pandey, ***@***.***> wrote:
Hey, is someone working on this issue ?
—
Reply to this email directly, view it on GitHub
<#9867 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXZUCQEDGKV7IFKWBPMALJLWTJ3A7ANCNFSM6AAAAAASJNB22E>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Should I wait for #9698 to get approved ? |
@AbrahamOsmondE I think some of the core team members need to assign you. So I just did it as you were the first one to show interest. Please let us know in case you aren't working on it. @MAYANKpandey14 @rahulhumie Thank you for your interest. As just mentioned, I assigned the issue to @AbrahamOsmondE for now. We are always grateful for contributions and if you'd like to work on Kolibri, there are many other issues open. It may be helpful to filter them by "help wanted", "good first issue", or "beginner friendly" tags. |
Hi @MisRob , I'm currently trying to setup the development environment and I'm facing issues on the following section when trying to setup nodeenv on the virtual environment. I've tried looking for my error on google but can't seem to find it. May I know where might be a good place to ask? |
@AbrahamOsmondE Thank you for asking, it'd be fine to post the error here and we'll do our best to figure it out with you |
@MisRob I've been getting the following error when doing I used homebrew to install a node with version 16.x as mentioned in the document. Do let me know if any other detail is required from me. Thank you! |
@AbrahamOsmondE, is this problem specific to Node v10 only? Are you able to proceed with the setup using Node v16? |
@MisRob no the problem persists even when trying to use Node v16. Also tried using Node v19 and it didn't work too |
I'm sorry to hear that. Unfortunately, I have no idea what's causing this problem, and I haven't heard yet from anyone who'd experienced this error. The only idea I've gotten so far is that perhaps playing around with different virtual environment tools may be helpful? For example, I use |
@AbrahamOsmondE Not related to that particular error, but if you get further in the setup process, one of my colleagues shared that instead of this step https://kolibri-dev.readthedocs.io/en/develop/getting_started.html#checkout-release-v0-15-x (which also requires switching to Node v10 temporarily), it should be simpler to run |
i wanted to work on the issue please assign me the issue |
Taking into account that we didn't hear back from @AbrahamOsmondE for some time, I'm removing the assignment. If someone wants to work on it, please let me know as soon as you start coding and I will make a new assignment. |
Hi @MisRob , I have been in contact with Learning Equality for about last 2 weeks and I have successfully got setup Kolibri on my local computer. I land on this good-first-issue and I'd love to work on this if you could assign this issue to me. |
Hello @Akila-I, thank you for your interest. You're welcome to take this on. |
Hi @MisRob , Thanks for assigning the issue to me. |
Thank you for your contribution, @Akila-I. Yes, we will review changes in the PR. |
Observed behavior
I quite frequently see uses of
let
in cases where the variable will never be reassigned. In this caseconst
should be preferred for the variable declaration.ESLint has a
prefer-const
rule https://eslint.org/docs/latest/rules/prefer-const that has some autofixing capability, so this could be added and any existing usages fixed.Note it would be best to wait until #9698 has been merged to do this.
The text was updated successfully, but these errors were encountered: