diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index ba411ad..d5af927 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/package.json b/package.json index 5941cb3..2a0a7df 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "cache-loader": "^4.1.0", "cssnano": "^7.0.4", "eslint": "^8.57.0", - "eslint-config-taro": "3.6.34", + "eslint-config-taro": "4.0.4", "eslint-plugin-import": "^2.29.1", "eslint-plugin-react": "^7.35.0", "eslint-plugin-react-hooks": "^4.6.2", diff --git a/yarn.lock b/yarn.lock index 19678ba..9d5601f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -76,7 +76,7 @@ __metadata: languageName: node linkType: hard -"@babel/eslint-parser@npm:^7.17.0": +"@babel/eslint-parser@npm:^7.24.1": version: 7.25.1 resolution: "@babel/eslint-parser@npm:7.25.1" dependencies: @@ -2180,7 +2180,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.4.0, @eslint-community/regexpp@npm:^4.6.1": +"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.4.0, @eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": version: 4.11.0 resolution: "@eslint-community/regexpp@npm:4.11.0" checksum: 10c0/0f6328869b2741e2794da4ad80beac55cba7de2d3b44f796a60955b0586212ec75e6b0253291fd4aad2100ad471d1480d8895f2b54f1605439ba4c875e05e523 @@ -3976,7 +3976,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -4148,6 +4148,13 @@ __metadata: languageName: node linkType: hard +"@types/semver@npm:^7.5.0": + version: 7.5.8 + resolution: "@types/semver@npm:7.5.8" + checksum: 10c0/8663ff927234d1c5fcc04b33062cb2b9fcfbe0f5f351ed26c4d1e1581657deebd506b41ff7fdf89e787e3d33ce05854bc01686379b89e9c49b564c4cfa988efa + languageName: node + linkType: hard + "@types/send@npm:*": version: 0.17.4 resolution: "@types/send@npm:0.17.4" @@ -4219,6 +4226,31 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/eslint-plugin@npm:^6.2.0": + version: 6.21.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0" + dependencies: + "@eslint-community/regexpp": "npm:^4.5.1" + "@typescript-eslint/scope-manager": "npm:6.21.0" + "@typescript-eslint/type-utils": "npm:6.21.0" + "@typescript-eslint/utils": "npm:6.21.0" + "@typescript-eslint/visitor-keys": "npm:6.21.0" + debug: "npm:^4.3.4" + graphemer: "npm:^1.4.0" + ignore: "npm:^5.2.4" + natural-compare: "npm:^1.4.0" + semver: "npm:^7.5.4" + ts-api-utils: "npm:^1.0.1" + peerDependencies: + "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/f911a79ee64d642f814a3b6cdb0d324b5f45d9ef955c5033e78903f626b7239b4aa773e464a38c3e667519066169d983538f2bf8e5d00228af587c9d438fb344 + languageName: node + linkType: hard + "@typescript-eslint/eslint-plugin@npm:^7.17.0": version: 7.18.0 resolution: "@typescript-eslint/eslint-plugin@npm:7.18.0" @@ -4298,6 +4330,23 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/type-utils@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/type-utils@npm:6.21.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:6.21.0" + "@typescript-eslint/utils": "npm:6.21.0" + debug: "npm:^4.3.4" + ts-api-utils: "npm:^1.0.1" + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/7409c97d1c4a4386b488962739c4f1b5b04dc60cf51f8cd88e6b12541f84d84c6b8b67e491a147a2c95f9ec486539bf4519fb9d418411aef6537b9c156468117 + languageName: node + linkType: hard + "@typescript-eslint/type-utils@npm:7.18.0": version: 7.18.0 resolution: "@typescript-eslint/type-utils@npm:7.18.0" @@ -4367,6 +4416,23 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/utils@npm:6.21.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@types/json-schema": "npm:^7.0.12" + "@types/semver": "npm:^7.5.0" + "@typescript-eslint/scope-manager": "npm:6.21.0" + "@typescript-eslint/types": "npm:6.21.0" + "@typescript-eslint/typescript-estree": "npm:6.21.0" + semver: "npm:^7.5.4" + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + checksum: 10c0/ab2df3833b2582d4e5467a484d08942b4f2f7208f8e09d67de510008eb8001a9b7460f2f9ba11c12086fd3cdcac0c626761c7995c2c6b5657d5fa6b82030a32d + languageName: node + linkType: hard + "@typescript-eslint/utils@npm:7.18.0": version: 7.18.0 resolution: "@typescript-eslint/utils@npm:7.18.0" @@ -8297,15 +8363,27 @@ __metadata: languageName: node linkType: hard -"eslint-config-taro@npm:3.6.34": - version: 3.6.34 - resolution: "eslint-config-taro@npm:3.6.34" +"eslint-config-taro@npm:4.0.4": + version: 4.0.4 + resolution: "eslint-config-taro@npm:4.0.4" dependencies: - "@babel/eslint-parser": "npm:^7.17.0" + "@babel/eslint-parser": "npm:^7.24.1" + "@typescript-eslint/eslint-plugin": "npm:^6.2.0" "@typescript-eslint/parser": "npm:^6.2.0" + eslint-plugin-import: "npm:^2.29.1" peerDependencies: - eslint: "*" - checksum: 10c0/c223954bef22f1b953bdfcb3348485db3b313e6d55486464acfdbb792e9f94bb89bed2885bb980512bda1303e812cfeab051da5a3f96f2cb960a6db98e2dac37 + eslint: ^8 + eslint-plugin-react: ^7.33.2 + eslint-plugin-react-hooks: ^4.4.0 + eslint-plugin-vue: ^9.17.0 + peerDependenciesMeta: + eslint-plugin-react: + optional: true + eslint-plugin-react-hooks: + optional: true + eslint-plugin-vue: + optional: true + checksum: 10c0/0adb71a973a4e021f0017787b5ca3e469370b90f32c1a6d2899e8f95b8d90a617243d5330c7a58aff99ca972e16362493418c4d78de2358eb53885ad4f212d52 languageName: node linkType: hard @@ -12571,7 +12649,7 @@ __metadata: cssnano: "npm:^7.0.4" eslint: "npm:^8.57.0" eslint-config-prettier: "npm:^9.1.0" - eslint-config-taro: "npm:3.6.34" + eslint-config-taro: "npm:4.0.4" eslint-plugin-import: "npm:^2.29.1" eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-react: "npm:^7.35.0"