Skip to content

Commit 36f1dab

Browse files
chore(deps-dev): bump eslint-plugin-unicorn from 58.0.0 to 59.0.0 (#1480)
* chore(deps-dev): bump eslint-plugin-unicorn from 58.0.0 to 59.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 58.0.0 to 59.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v58.0.0...v59.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-version: 59.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: disable bad rule --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: James Garbutt <[email protected]>
1 parent 6ffd4ea commit 36f1dab

File tree

3 files changed

+18
-298
lines changed

3 files changed

+18
-298
lines changed

eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default [
7373
},
7474
},
7575
eslintConfigPrettier,
76-
eslintUnicorn.configs['flat/recommended'],
76+
eslintUnicorn.configs.recommended,
7777
{
7878
rules: {
7979
'unicorn/no-null': 'off',
@@ -89,6 +89,7 @@ export default [
8989
'unicorn/no-nested-ternary': 'off',
9090
'unicorn/consistent-function-scoping': 'off',
9191
'unicorn/prefer-switch': ['error', { emptyDefaultCase: 'do-nothing-comment' }],
92+
'unicorn/prefer-single-call': 'off',
9293
},
9394
},
9495
];

0 commit comments

Comments
 (0)