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

Feature/1135 formatter enable rules rebased #1260

Merged
merged 3 commits into from
Dec 24, 2024

Conversation

kcinay055679
Copy link
Collaborator

No description provided.

@kcinay055679 kcinay055679 force-pushed the feature/1135-formatter-enable-rules-rebased branch 2 times, most recently from 1139423 to cb75cb5 Compare December 23, 2024 07:45
Copy link
Collaborator Author

@kcinay055679 kcinay055679 left a comment

Choose a reason for hiding this comment

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

add rule to allow only ifs with curly brackets

https://eslint.org/docs/latest/rules/curly

Use "al"

@nevio18324 nevio18324 marked this pull request as ready for review December 23, 2024 11:59
Copy link
Collaborator

@peggimann peggimann left a comment

Choose a reason for hiding this comment

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

please double check that the non-null assertion are implemented as before. Also consider using switch statements if you touch a class anyway.

@nevio18324 nevio18324 force-pushed the feature/1135-formatter-enable-rules-rebased branch from 2efd083 to 08e3d38 Compare December 24, 2024 10:21
kcinay055679 and others added 2 commits December 24, 2024 11:24
squash branch

update eslint config

run formatter

fix tests

revert to single quotes

regen package-lock

move eslint dependendencies to devDependencies and update comment in eslint-config

remove not needed parent clings

fix typo in comment in scoring component tests

put both statements inside if statement

change asignment of args in global ts

add curly to eslint config

put curly into quotes

update comments to clarify that they are for lint

replace multiple ifs with one switch

replace multiple ifs with one switch

replace multiple ifs with one switch

turn no-non-null-assertion off and bring back all usages of

add strict equality

fix eslint errors

remove not needed comment

add todo for error handling oauth interceptor

update comments so its clear that linter needs them

revert change made accidentally

fix frontend unit tests

revert changes made accidentally

bring back all not null assertions and create some switch statements in scoring component for readability
@nevio18324 nevio18324 force-pushed the feature/1135-formatter-enable-rules-rebased branch from 08e3d38 to 643258b Compare December 24, 2024 10:27
@peggimann peggimann merged commit 1a1aed6 into main Dec 24, 2024
19 checks passed
@peggimann peggimann deleted the feature/1135-formatter-enable-rules-rebased branch December 24, 2024 10:45
@nevio18324 nevio18324 linked an issue Dec 24, 2024 that may be closed by this pull request
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-enable ESLint rules
3 participants