DEV: Update eslint/prettier (#22226)

This commit is contained in:
Jarek Radosz 2023-06-21 20:59:03 +02:00 committed by GitHub
parent 1948063f9f
commit 876ff17cc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 1730 additions and 854 deletions

2
.github/labeler.yml vendored
View File

@ -1,2 +1,2 @@
chat:
- plugins/chat/**/*
- plugins/chat/**/*

View File

@ -11,8 +11,9 @@
"packages": {
"@fortawesome/fontawesome-free": "*",
"ember-template-lint-plugin-discourse": "*",
"spawn-command": "0.0.2",
"squoosh": "2.0.0",
"taffydb": "2.6.2"
},
"corrections": true
}
}

View File

@ -59,9 +59,7 @@
</div>
{{else}}
{{#component
this.reviewableComponent
reviewable=this.reviewable
tagName=""
this.reviewableComponent reviewable=this.reviewable tagName=""
}}
<ReviewableScores @reviewable={{this.reviewable}} @tagName="" />
{{/component}}

View File

@ -134,7 +134,9 @@
}
&:not(.history-modal) {
.modal-body:not(.reorder-categories):not(.poll-ui-builder):not(.poll-breakdown):not(.sidebar-categories-form-modal):not(.sidebar-tags-form-modal) {
.modal-body:not(.reorder-categories):not(.poll-ui-builder):not(
.poll-breakdown
):not(.sidebar-categories-form-modal):not(.sidebar-tags-form-modal) {
max-height: 80vh !important;
@media screen and (max-height: 500px) {
max-height: 65vh !important;

View File

@ -86,7 +86,9 @@
padding: 0.5em 0;
}
.sidebar-categories-form__category-row[data-category-level="0"]:not(:only-child) {
.sidebar-categories-form__category-row[data-category-level="0"]:not(
:only-child
) {
border-bottom: 1px solid var(--primary-low);
}
@ -94,7 +96,9 @@
margin-left: 1em;
}
.sidebar-categories-form__category-row[data-category-level="1"]:not(:nth-of-type(2)) {
.sidebar-categories-form__category-row[data-category-level="1"]:not(
:nth-of-type(2)
) {
border-top: 1px solid var(--primary-low);
}

View File

@ -437,7 +437,9 @@
width: 100%;
}
.modal-body:not(.reorder-categories):not(.poll-ui-builder):not(.poll-breakdown) {
.modal-body:not(.reorder-categories):not(.poll-ui-builder):not(
.poll-breakdown
) {
max-height: 90vh !important; // overrides base/modal.scss
}
.login-welcome-header,

View File

@ -27,9 +27,9 @@
"chrome-remote-interface": "^0.31.3",
"ember-template-lint": "4.10.1",
"eslint": "^8.37.0",
"eslint-config-discourse": "^3.4.0",
"eslint-plugin-ember": "10.6.1",
"eslint-plugin-sort-class-members": "1.14.1",
"eslint-config-discourse": "^3.5.0",
"eslint-plugin-ember": "11.8.0",
"eslint-plugin-sort-class-members": "1.18.0",
"jsdoc": "^4.0.0",
"lefthook": "^1.2.0",
"lint-to-the-future": "^2.0.0",

View File

@ -21,8 +21,7 @@
>
{{#if this.shouldRenderFavoriteReactions}}
{{#each
this.messageInteractor.emojiReactions
key="emoji"
this.messageInteractor.emojiReactions key="emoji"
as |reaction|
}}
<ChatMessageReaction

View File

@ -110,7 +110,11 @@ $radius: 3px;
position: relative;
overflow: hidden;
*[class^="chat-skeleton__message-"]:not(.chat-skeleton__message-content):not(.chat-skeleton__message-text):not(.chat-skeleton__message-reactions):after {
*[class^="chat-skeleton__message-"]:not(
.chat-skeleton__message-content
):not(.chat-skeleton__message-text):not(
.chat-skeleton__message-reactions
):after {
position: absolute;
top: 0;
right: 0;

2544
yarn.lock

File diff suppressed because it is too large Load Diff