Skip to content

Commit 517a6d9

Browse files
build(deps-dev): bump eslint-plugin-unicorn from 44.0.2 to 45.0.2 (#333)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bryan Mishkin <[email protected]>
1 parent b4da20a commit 517a6d9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: lib/rules/require-meta-docs-url.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ module.exports = {
112112
metaNode ||
113113
ruleInfo.create,
114114

115+
// eslint-disable-next-line unicorn/no-negated-condition -- actually more clear like this
115116
messageId: !urlPropNode
116117
? 'missing'
117-
: // eslint-disable-next-line unicorn/no-nested-ternary -- this is fine for now
118+
: // eslint-disable-next-line unicorn/no-nested-ternary,unicorn/no-negated-condition -- this is fine for now
118119
!expectedUrl
119120
? 'wrongType'
120121
: /* otherwise */ 'mismatch',

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"eslint-plugin-markdown": "^3.0.0",
6464
"eslint-plugin-node": "^11.1.0",
6565
"eslint-plugin-prettier": "^4.2.1",
66-
"eslint-plugin-unicorn": "^44.0.0",
66+
"eslint-plugin-unicorn": "^45.0.2",
6767
"eslint-remote-tester": "^3.0.0",
6868
"eslint-scope": "^7.1.1",
6969
"espree": "^9.4.0",

0 commit comments

Comments
 (0)