Skip to content

Commit

Permalink
chore(deps)!: drop support for eslint-plugin-n v15
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed May 26, 2024
1 parent cc2de16 commit d471d9f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"dependencies": {
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-n": "^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"typescript-eslint": "^7.0.1"
},
Expand Down
6 changes: 0 additions & 6 deletions src/test/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ test('range types', async (t) => {
return spec !== '*'
}

if (depName === 'eslint-plugin-n' && depType === 'dep') {
const ranges = spec.split('||').map(range => range.trim())
if (ranges.length !== 2) return true
return !ranges.every(range => isSingleCaretRange(range))
}

const range = extractVersionRange(spec)

switch (depType) {
Expand Down

0 comments on commit d471d9f

Please sign in to comment.