From 81d074cab5f072e806e75f8c0bf66f3881b6c1b3 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 14 Jul 2021 00:44:37 +0800 Subject: [PATCH] chore: bump config versions --- packages/ui/package.json | 20 +++++--------------- packages/ui/yarn.lock | 32 ++++++++++++++++---------------- 2 files changed, 21 insertions(+), 31 deletions(-) diff --git a/packages/ui/package.json b/packages/ui/package.json index ba6d87a24..9ade5a448 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -23,10 +23,10 @@ "@babel/core": "^7.14.6", "@commitlint/cli": "^12.1.4", "@commitlint/config-conventional": "^12.1.4", - "@logto/eslint-config": "^0.1.0-rc.6", - "@logto/eslint-config-react": "^0.1.0-rc.7", - "@logto/ts-config": "^0.1.0-rc.6", - "@logto/ts-config-react": "^0.1.0-rc.7", + "@logto/eslint-config": "^0.1.0-rc.10", + "@logto/eslint-config-react": "^0.1.0-rc.10", + "@logto/ts-config": "^0.1.0-rc.10", + "@logto/ts-config-react": "^0.1.0-rc.10", "@types/jest": "^26.0.24", "@types/react": "^17.0.14", "@types/react-dom": "^17.0.9", @@ -51,17 +51,7 @@ "webpack-dev-server": "^3.11.2" }, "eslintConfig": { - "extends": "@logto/react", - "rules": { - "unicorn/prevent-abbreviations": [ - "error", - { - "replacements": { - "props": false - } - } - ] - } + "extends": "@logto/react" }, "stylelint": { "extends": "@logto/eslint-config-react/.stylelintrc" diff --git a/packages/ui/yarn.lock b/packages/ui/yarn.lock index 324bc1fd3..cf463b13f 100644 --- a/packages/ui/yarn.lock +++ b/packages/ui/yarn.lock @@ -1360,20 +1360,20 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" -"@logto/eslint-config-react@^0.1.0-rc.7": - version "0.1.0-rc.7" - resolved "https://registry.yarnpkg.com/@logto/eslint-config-react/-/eslint-config-react-0.1.0-rc.7.tgz#28b006b364f29d2692ce48769f037ff69b547826" - integrity sha512-kCDYA/JF2kcmhSj6WXwN6Csy4ttILMakVWIyokG8JeCFgVflFTYW3QoPM7lKPwtern+84UV13PoxnE8q2WkV5Q== +"@logto/eslint-config-react@^0.1.0-rc.10": + version "0.1.0-rc.10" + resolved "https://registry.yarnpkg.com/@logto/eslint-config-react/-/eslint-config-react-0.1.0-rc.10.tgz#db8d5a0dec68f601d3dea03934bdd7bdaa089820" + integrity sha512-HmidNrdqJ+5VJXB3HN7CqLrFgRHiHUaZfA9YO9AXXaflkvVX01h2USdOXtWDgLgQxveZ6/R6Z7hnu4FzJCG4ig== dependencies: eslint-config-xo-react "^0.25.0" eslint-plugin-react "^7.24.0" eslint-plugin-react-hooks "^4.2.0" stylelint-config-xo-scss "^0.14.0" -"@logto/eslint-config@^0.1.0-rc.6": - version "0.1.0-rc.6" - resolved "https://registry.yarnpkg.com/@logto/eslint-config/-/eslint-config-0.1.0-rc.6.tgz#f72193b43e2b17ef28513f9fdad948654662b187" - integrity sha512-/PqlhG//lYxMNAoZXPpe+yvdH0vvdKNPmvugYjK99lIgpM0EUhRWnrHLX02ZFp1nldvcfTn7AtkpvSD2bb6zVg== +"@logto/eslint-config@^0.1.0-rc.10": + version "0.1.0-rc.10" + resolved "https://registry.yarnpkg.com/@logto/eslint-config/-/eslint-config-0.1.0-rc.10.tgz#fedd684b9f4275c383dc7f426df78dc804513d10" + integrity sha512-jayvQ4sSApvrcztNjRc5FT71qMKlWJrJQOYLqNvmN9cm0kLLZfEXWlWTJYDJf5Wf5X3djyDBSZRRx9VjQODYRw== dependencies: "@typescript-eslint/eslint-plugin" "^4.28.2" "@typescript-eslint/parser" "^4.28.2" @@ -1388,15 +1388,15 @@ eslint-plugin-promise "^5.1.0" eslint-plugin-unicorn "^34.0.1" -"@logto/ts-config-react@^0.1.0-rc.7": - version "0.1.0-rc.7" - resolved "https://registry.yarnpkg.com/@logto/ts-config-react/-/ts-config-react-0.1.0-rc.7.tgz#66a18e32e39c6f21e45d7745b664d150d87dc2ee" - integrity sha512-S42FrRPV0T+H2KH8uRYPeujskh8fv/TSUvAx963RRT1NE/imVScG5G7JlZ+VK/BlqfJJ14MVqtRW0lPpikn2FA== +"@logto/ts-config-react@^0.1.0-rc.10": + version "0.1.0-rc.10" + resolved "https://registry.yarnpkg.com/@logto/ts-config-react/-/ts-config-react-0.1.0-rc.10.tgz#caf7ff99666716cc1d751e7402709a2e703da069" + integrity sha512-mFJpEKOLT8m9RYz2Howh3Y483ufJ46HBhV87cukiw9xZ9uNSgWDYyiFyOazC0j2hHmHSfKBYfnkLgtDEGVDPPQ== -"@logto/ts-config@^0.1.0-rc.6": - version "0.1.0-rc.6" - resolved "https://registry.yarnpkg.com/@logto/ts-config/-/ts-config-0.1.0-rc.6.tgz#d95ead3eace4644a7fbcbb13bfa1b615b9acee8b" - integrity sha512-T2TPpIyisYCUqMuR2J7kOhZ1IQ19z1wWFldH6yQThpFmPakytnDU+2UpbOucCR/CBd64aW3KIyqrJSGTOmg3dg== +"@logto/ts-config@^0.1.0-rc.10": + version "0.1.0-rc.10" + resolved "https://registry.yarnpkg.com/@logto/ts-config/-/ts-config-0.1.0-rc.10.tgz#a43cd919fb9fb60c263d65481b36e6b0623d5f96" + integrity sha512-KbwoKIE80I96WrCJhhL3+N73JfbfpmfFwCP6Jsng/q6RpWj360GzoMWrpiupudrrPz5lSVsI0mnEmH4hVUbebA== "@nodelib/fs.scandir@2.1.5": version "2.1.5"