Skip to content

Commit 79ac088

Browse files
authored
Merge pull request #5 from hapijs/fix/disable-unicorn-no-new-array
fix: disable unicorn/no-new-array
2 parents aac9cd2 + 3c32fdb commit 79ac088

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@
4343
"lint:fix": "oxlint --fix && oxfmt --write"
4444
},
4545
"dependencies": {
46-
"@oxlint/plugins": "^1.68.0"
46+
"@oxlint/plugins": "^1.72.0"
4747
},
4848
"devDependencies": {
4949
"@hapi/oxc-plugin": "file:.",
50-
"@vitest/coverage-v8": "^4.1.8",
51-
"oxfmt": "^0.54.0",
52-
"oxlint": "^1.69.0",
53-
"vitest": "^4.1.8"
50+
"@vitest/coverage-v8": "^4.1.9",
51+
"oxfmt": "^0.57.0",
52+
"oxlint": "^1.72.0",
53+
"vitest": "^4.1.9"
5454
},
5555
"peerDependencies": {
56-
"oxfmt": ">=0.53.0",
57-
"oxlint": ">=1.68.0"
56+
"oxfmt": ">=0.57.0",
57+
"oxlint": ">=1.72.0"
5858
},
5959
"engines": {
6060
"node": ">=22"

src/configs/recommended.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export default {
5151
'object-shorthand': ['error', 'properties'],
5252
'node/handle-callback-err': ['error', '^(e|err|error)$'],
5353
'unicorn/no-new-buffer': 'error',
54+
'unicorn/no-new-array': 'off',
5455
'typescript/dot-notation': 'warn',
5556
'eslint/no-object-constructor': 'error',
5657
'eslint/no-new-native-nonconstructor': 'error',

0 commit comments

Comments
 (0)