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

[2024Q4] Decision Making Tool #1714

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

EternalRival
Copy link
Contributor

@EternalRival EternalRival commented Oct 18, 2024

[2024Q4] Decision Making Tool

🤔 This is a ...

  • 🌟 New task
  • 🌐 New module
  • ⚙️ Update to an existing task
  • 🔧 Update to an existing module
  • 🔗 Update or addition of external resources or links
  • 🐛 Fix in a task or related content
  • 🛠 Fix in a module or related content
  • ✏️ Fixed a typo or grammatical error
  • 🔗 Fixed a broken link
  • ❓ Other (specify: ****____****)

Description

  • Brief Overview: Add a task "Decision Making Tool"
  • Implementation Approach: ---

Additional Information

  • Screenshots/Links:

dmt-preview

  • Related Issues:

Checklist

  • ✅ I have performed a self-review of my own code.
  • 📝 I have commented my code, particularly in hard-to-understand areas.
  • 🔧 I have made corresponding changes to the documentation (if applicable).
  • 🚫 My changes generate no new warnings or errors.

@EternalRival EternalRival changed the title [2024Q4] Wheel of Fortune [2024Q4] Decision Making Tool Nov 22, 2024
@EternalRival EternalRival marked this pull request as draft November 27, 2024 16:57
stage2/tasks/decision-making-tool/README.md Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
@WiiJoy WiiJoy marked this pull request as ready for review February 6, 2025 09:39
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved

### Code Quality (80 points)

> The use of innerHTML is prohibited. Use of DOM search methods is prohibited. ([there are good reasons for not using them](https://gist.github.com/TELEUZI/410d19772481d98b06e0b41ebf89fff1#naive-implementation-).)
Copy link
Contributor Author

@EternalRival EternalRival Feb 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the penalties section these methods are mentioned like this:

(querySelector*, getElement*, etc.)

If you don't mind, help me to correct that part here in the requirements and penalties

stage2/tasks/decision-making-tool/README.md Outdated Show resolved Hide resolved
@EternalRival EternalRival requested a review from TELEUZI February 8, 2025 14:14
Comment on lines 90 to 110
4. (+8) ESLint configuration file must include all of the following rules included:

```json
{
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/consistent-type-assertions": [
"error",
{ "assertionStyle": "never" }
],
"@typescript-eslint/explicit-member-accessibility": [
"error",
{ "accessibility": "explicit", "overrides": { "constructors": "off" } }
],
"@typescript-eslint/member-ordering": "error"
}
```

5. (+16) ESLint configuration file must be configured with [`typescript-eslint`](https://typescript-eslint.io/) (with enabled [type checking rules](https://typescript-eslint.io/getting-started/typed-linting/)), [`eslint-config-airbnb-typescript`](https://www.npmjs.com/package/eslint-config-airbnb-typescript), [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) (do not confuse it with `eslint-plugin-prettier`. it is [not recommended](https://prettier.io/docs/en/integrating-with-linters.html#:~:text=generally%20not%20recommended) by the prettier documentation.) and the necessary dependencies for them to work.
- _With the mentor's permission, it is acceptable to disable or tweak some rules (e.g. `import/prefer-default-export`, `no-underscore-dangle`, etc.) as long as it does not conflict with penalties._
- _It is allowed to tweak the config to be stricter to make your code even cleaner (according to your or your mentor's preference)._
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the thing:
eslint-config-airbnb-base and eslint-config-airbnb-typescript look outdated at the moment (have not been updated to ESLint v9).
A possible solution is to remove airbnb from the requirements and add a list of important good eslint rules, but I need help with a list of such rules.

Copy link
Collaborator

@TELEUZI TELEUZI Feb 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants