Closed gemanor closed 5 days ago
/bounty 150
/attempt #15
with your implementation plan/claim #15
in the PR body to claim the bountyThank you for contributing to permitio/permit-cli!
Add a bounty ā¢ Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
š¢ @Mubashirshariq | Oct 28, 2024, 3:59:33 PM | #21 |
š¢ @asr2003 | Oct 28, 2024, 4:30:43 PM | WIP |
š¢ @gsaivinay | Oct 28, 2024, 5:45:19 PM | #22 |
no-unused-vars:
Throws an error for declared variables that are not used, keeping the code clean and efficient.no-undef:
Throws an error when using undeclared variables, preventing potential reference errors.@typescript-eslint/no-explicit-any:
Warns when the any
type is used, to encourage better typing practices.@typescript-eslint/no-unused-vars:
Throws an error for unused variables, helping to clean up the code.no-console:
Warns when console.log
is used, to avoid leaving debug statements in production code.prefer-const:
Warns when variables could be declared as const
but are not, promoting better immutability.prettier/prettier:
Enforces the existing Prettier configuration from .prettierrc
./attempt #15
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@Mubashirshariq | 3 bounties from 3 projects | JavaScript, TypeScript, HTML |
Cancel attempt |
@gemanor Iām planning to implement the following set of ESLint rules for the project:
.prettierrc
I will add the above rules and fix warnings along the way and also add some other eslint rules further if needed. Let me know if any further refinement/changes needed (PS: I have referred above from a blog docs)
With this /attempt #15
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@asr2003 | 8 bounties from 4 projects | Rust, TypeScript, Go & more |
Cancel attempt |
/attempt #15
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@gsaivinay | 1 bounty from 1 project | Python |
Cancel attempt |
š” @Mubashirshariq submitted a pull request that claims the bounty. You can visit your bounty board to reward.
@Mubashirshariq , we usually gives these bounties first come, first serve priority, but @gsaivinay's solution is more clean and uses ready-made rules Please take 1 day to make your PR comply with @gsaivinay to make it yours, or instead agree with him on splitting the bounties.
@gsaivinay we will go with @Mubashirshariq PR. @Mubashirshariq I added some comments on the PR
@gemanor
although I haven't agreed on taking ownership, it is fine by me as first come first priority.
šš @Mubashirshariq has been awarded $180! šš
We want to have better and more consistent linting rules in the tool that will not balance productivity with efficiency. This task is about having ESLint implemented in the repository with a set of rules that fit the application and cleaning the current warnings.
Acceptance criteria: