Skip to content

Commit

Permalink
deps(eslint-plugin-unicorn): Update to v52.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Apr 18, 2024
1 parent e1b27dd commit 033123e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"eslint-plugin-react-perf": "^3.3.2",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-solid": "^0.13.2",
"eslint-plugin-unicorn": "^51.0.1"
"eslint-plugin-unicorn": "^52.0.0"
},
"devDependencies": {
"@types/eslint": "^8.56.6",
Expand Down
3 changes: 3 additions & 0 deletions packages/eslint-config/src/unicorn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ const config: eslint.Linter.Config = {

// Ensure consistent and correct syntax
'unicorn/new-for-builtins': 'error',
'unicorn/no-anonymous-default-export': 'error',
'unicorn/no-await-in-promise-methods': 'error',
'unicorn/no-instanceof-array': 'error',
'unicorn/no-invalid-remove-event-listener': 'error',
'unicorn/no-new-array': 'error',
'unicorn/no-new-buffer': 'error',
'unicorn/no-single-promise-in-promise-methods': 'error',
'unicorn/no-this-assignment': 'error',
'unicorn/no-useless-spread': 'error',
'unicorn/no-useless-switch-case': 'error',
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6296,7 +6296,7 @@ __metadata:
eslint-plugin-react-perf: "npm:^3.3.2"
eslint-plugin-simple-import-sort: "npm:^12.0.0"
eslint-plugin-solid: "npm:^0.13.2"
eslint-plugin-unicorn: "npm:^51.0.1"
eslint-plugin-unicorn: "npm:^52.0.0"
peerDependencies:
eslint: ^8.0.0
languageName: unknown
Expand Down Expand Up @@ -6532,9 +6532,9 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-unicorn@npm:^51.0.1":
version: 51.0.1
resolution: "eslint-plugin-unicorn@npm:51.0.1"
"eslint-plugin-unicorn@npm:^52.0.0":
version: 52.0.0
resolution: "eslint-plugin-unicorn@npm:52.0.0"
dependencies:
"@babel/helper-validator-identifier": "npm:^7.22.20"
"@eslint-community/eslint-utils": "npm:^4.4.0"
Expand All @@ -6554,7 +6554,7 @@ __metadata:
strip-indent: "npm:^3.0.0"
peerDependencies:
eslint: ">=8.56.0"
checksum: 10/cea770332423d49d0cd86ca96055be7f14895e1d0a9fb24c8ed4f18a6e1eeff362d4881c46e85d85c37938bb85a6eeae7e347bcf7a3bb7307a8dd309651e0adf
checksum: 10/69b8aeee04806b808a534fe5484ad75ee9feec6078aad90651d7ce7216e2bd14980fec5a2e05fd800b874406a54240af66f04ab83023a7f1fe67397b6dc4c032
languageName: node
linkType: hard

Expand Down

0 comments on commit 033123e

Please sign in to comment.