chore(deps): update dependency eslint-plugin-unicorn to v52 (#16201)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2024-04-04 21:43:51 +08:00
1 parent 197f964762
commit 579b1c4c72
4 files changed
+9 -20

No files matched your search

-13
View File
@@ -150,19 +150,6 @@ export default [
], ],
}, },
], ],
"import/no-anonymous-default-export": [
"error",
{
allowArray: true,
allowArrowFunction: true,
allowAnonymousClass: false,
allowAnonymousFunction: false,
allowCallExpression: true,
allowNew: true,
allowLiteral: true,
allowObject: true,
},
],
// eslint-plugin-n // eslint-plugin-n
"n/no-path-concat": "error", "n/no-path-concat": "error",
+1 -1
View File
@@ -137,7 +137,7 @@
"eslint-plugin-react": "7.34.1", "eslint-plugin-react": "7.34.1",
"eslint-plugin-regexp": "2.4.0", "eslint-plugin-regexp": "2.4.0",
"eslint-plugin-simple-import-sort": "12.0.0", "eslint-plugin-simple-import-sort": "12.0.0",
"eslint-plugin-unicorn": "51.0.1", "eslint-plugin-unicorn": "52.0.0",
"esm-utils": "4.2.1", "esm-utils": "4.2.1",
"execa": "7.2.0", "execa": "7.2.0",
"jest": "30.0.0-alpha.3", "jest": "30.0.0-alpha.3",
+3 -1
View File
@@ -1,3 +1,5 @@
import { runYarn } from "../utils.js"; import { runYarn } from "../utils.js";
export default () => runYarn("lint"); const lintFiles = () => runYarn("lint");
export default lintFiles;
+5 -5
View File
@@ -3973,9 +3973,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"eslint-plugin-unicorn@npm:51.0.1": "eslint-plugin-unicorn@npm:52.0.0":
version: 51.0.1 version: 52.0.0
resolution: "eslint-plugin-unicorn@npm:51.0.1" resolution: "eslint-plugin-unicorn@npm:52.0.0"
dependencies: dependencies:
"@babel/helper-validator-identifier": "npm:^7.22.20" "@babel/helper-validator-identifier": "npm:^7.22.20"
"@eslint-community/eslint-utils": "npm:^4.4.0" "@eslint-community/eslint-utils": "npm:^4.4.0"
@@ -3995,7 +3995,7 @@ __metadata:
strip-indent: "npm:^3.0.0" strip-indent: "npm:^3.0.0"
peerDependencies: peerDependencies:
eslint: ">=8.56.0" eslint: ">=8.56.0"
checksum: 10/cea770332423d49d0cd86ca96055be7f14895e1d0a9fb24c8ed4f18a6e1eeff362d4881c46e85d85c37938bb85a6eeae7e347bcf7a3bb7307a8dd309651e0adf checksum: 10/69b8aeee04806b808a534fe5484ad75ee9feec6078aad90651d7ce7216e2bd14980fec5a2e05fd800b874406a54240af66f04ab83023a7f1fe67397b6dc4c032
languageName: node languageName: node
linkType: hard linkType: hard
@@ -7438,7 +7438,7 @@ __metadata:
eslint-plugin-react: "npm:7.34.1" eslint-plugin-react: "npm:7.34.1"
eslint-plugin-regexp: "npm:2.4.0" eslint-plugin-regexp: "npm:2.4.0"
eslint-plugin-simple-import-sort: "npm:12.0.0" eslint-plugin-simple-import-sort: "npm:12.0.0"
eslint-plugin-unicorn: "npm:51.0.1" eslint-plugin-unicorn: "npm:52.0.0"
esm-utils: "npm:4.2.1" esm-utils: "npm:4.2.1"
espree: "npm:10.0.1" espree: "npm:10.0.1"
execa: "npm:7.2.0" execa: "npm:7.2.0"