Skip to content

Commit

Permalink
Pull request - 2181: AG-40132 add brace-style
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 8027d58
Merge: 8a63de4 2ec4539
Author: Artem Manushenkov <a.manushenkov@adguard.com>
Date:   Fri Feb 21 11:14:34 2025 -0300

    Merge branch 'feature/AG-40132' into feature/AG-40132-brace-style

commit 8a63de4
Author: Artem Manushenkov <a.manushenkov@adguard.com>
Date:   Fri Feb 21 08:15:04 2025 -0300

    add brace-style
  • Loading branch information
Artem Manushenkov committed Feb 21, 2025
1 parent 2ec4539 commit 006c3e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ module.exports = {
'wrap-iife': 'off',
'func-names': 'off',
'prefer-destructuring': 'off',
'brace-style': ['error', '1tbs', { 'allowSingleLine': false }],
'consistent-return': 'off',
'curly': ['error', 'all'],
'dot-notation': 'off',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const TabSelector = observer(() => {
id={tabId}
role="button"
className="tab-selector__result-item"
onClick={() => { selectionHandlerSearch(tabId); }}
onClick={() => selectionHandlerSearch(tabId)}
tabIndex={0}
>
<span className={itemTextClassName}>
Expand Down
4 changes: 3 additions & 1 deletion tools/locales/download-locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ const shouldRetry = (errorMessage) => {
* @returns {Promise<void>} Resolves after the specified delay.
*/
const delayExecution = (delay) => {
return new Promise((resolve) => { setTimeout(resolve, delay); });
return new Promise((resolve) => {
setTimeout(resolve, delay);
});
};

/**
Expand Down

0 comments on commit 006c3e0

Please sign in to comment.