0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: upgrade configs

This commit is contained in:
Gao Sun 2022-02-28 22:51:29 +08:00
parent a89e3d1eb7
commit a74d2b0aa6
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
3 changed files with 17 additions and 27 deletions

View file

@ -28,9 +28,9 @@
"@parcel/core": "^2.3.1",
"@parcel/transformer-sass": "^2.3.1",
"@silverhand/eslint-config": "^0.9.1",
"@silverhand/eslint-config-react": "^0.9.2",
"@silverhand/eslint-config-react": "^0.9.3",
"@silverhand/ts-config": "^0.9.1",
"@silverhand/ts-config-react": "^0.9.2",
"@silverhand/ts-config-react": "^0.9.3",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"eslint": "^8.10.0",
@ -46,17 +46,7 @@
"@/*": "./src/$1"
},
"eslintConfig": {
"extends": "@silverhand/react",
"rules": {
"react/jsx-curly-brace-presence": [
"error",
{
"props": "never",
"children": "never",
"propElementValues": "always"
}
]
}
"extends": "@silverhand/react"
},
"stylelint": {
"extends": "@silverhand/eslint-config-react/.stylelintrc"

View file

@ -31,9 +31,9 @@
"@parcel/core": "^2.3.1",
"@parcel/transformer-sass": "^2.3.1",
"@silverhand/eslint-config": "^0.9.1",
"@silverhand/eslint-config-react": "^0.9.2",
"@silverhand/eslint-config-react": "^0.9.3",
"@silverhand/ts-config": "^0.9.1",
"@silverhand/ts-config-react": "^0.9.2",
"@silverhand/ts-config-react": "^0.9.3",
"@testing-library/react": "^12.0.0",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.14",

View file

@ -25,9 +25,9 @@ importers:
'@parcel/core': ^2.3.1
'@parcel/transformer-sass': ^2.3.1
'@silverhand/eslint-config': ^0.9.1
'@silverhand/eslint-config-react': ^0.9.2
'@silverhand/eslint-config-react': ^0.9.3
'@silverhand/ts-config': ^0.9.1
'@silverhand/ts-config-react': ^0.9.2
'@silverhand/ts-config-react': ^0.9.3
'@types/react': ^17.0.14
'@types/react-dom': ^17.0.9
classnames: ^2.3.1
@ -57,9 +57,9 @@ importers:
'@parcel/core': 2.3.1
'@parcel/transformer-sass': 2.3.1_@parcel+core@2.3.1
'@silverhand/eslint-config': 0.9.1_dd26a5c7f44cc79875cab41b61b7f609
'@silverhand/eslint-config-react': 0.9.2_40768c17363f6507b3c2d36cc72e1a6b
'@silverhand/eslint-config-react': 0.9.3_40768c17363f6507b3c2d36cc72e1a6b
'@silverhand/ts-config': 0.9.1_typescript@4.5.5
'@silverhand/ts-config-react': 0.9.2_typescript@4.5.5
'@silverhand/ts-config-react': 0.9.3_typescript@4.5.5
'@types/react': 17.0.37
'@types/react-dom': 17.0.11
eslint: 8.10.0
@ -244,9 +244,9 @@ importers:
'@parcel/core': ^2.3.1
'@parcel/transformer-sass': ^2.3.1
'@silverhand/eslint-config': ^0.9.1
'@silverhand/eslint-config-react': ^0.9.2
'@silverhand/eslint-config-react': ^0.9.3
'@silverhand/ts-config': ^0.9.1
'@silverhand/ts-config-react': ^0.9.2
'@silverhand/ts-config-react': ^0.9.3
'@testing-library/react': ^12.0.0
'@types/jest': ^27.4.0
'@types/react': ^17.0.14
@ -286,9 +286,9 @@ importers:
'@parcel/core': 2.3.1
'@parcel/transformer-sass': 2.3.1_@parcel+core@2.3.1
'@silverhand/eslint-config': 0.9.1_dd26a5c7f44cc79875cab41b61b7f609
'@silverhand/eslint-config-react': 0.9.2_40768c17363f6507b3c2d36cc72e1a6b
'@silverhand/eslint-config-react': 0.9.3_40768c17363f6507b3c2d36cc72e1a6b
'@silverhand/ts-config': 0.9.1_typescript@4.5.5
'@silverhand/ts-config-react': 0.9.2_typescript@4.5.5
'@silverhand/ts-config-react': 0.9.3_typescript@4.5.5
'@testing-library/react': 12.1.2_react-dom@17.0.2+react@17.0.2
'@types/jest': 27.4.0
'@types/react': 17.0.37
@ -3046,8 +3046,8 @@ packages:
- supports-color
dev: true
/@silverhand/eslint-config-react/0.9.2_40768c17363f6507b3c2d36cc72e1a6b:
resolution: {integrity: sha512-+r0RyjJ3l2Dx8kpeEtdpRxJNcYRprTWAS4DC6gpuRDue0IH+swFONrj68JD1IJqHYk2K/VvvSvCN8ewOr8N9bQ==}
/@silverhand/eslint-config-react/0.9.3_40768c17363f6507b3c2d36cc72e1a6b:
resolution: {integrity: sha512-o1n0llNeTtOZm9GgckPRnJ8xJOBOW/Z7tsf0OM0OxRpkVxE61nwIFIPik3loz+6jGT+q4hN1fuE4P1+r/jUiRw==}
peerDependencies:
stylelint: ^13.13.1
dependencies:
@ -3123,8 +3123,8 @@ packages:
lodash.pick: 4.4.0
dev: false
/@silverhand/ts-config-react/0.9.2_typescript@4.5.5:
resolution: {integrity: sha512-YvkGLzgh4ysA+vaoAQ95RecM8MIG4QxoxgayOdmEh3onm76OLc9EN7Vf6nJd9kVJKwX78Y5k6i7iApncTA0SwA==}
/@silverhand/ts-config-react/0.9.3_typescript@4.5.5:
resolution: {integrity: sha512-oKI9/xxrqcLzCjoNxhDRKhk1HRfLKw1nvoWm4RQUHJWCSGBLHovuUB/qwwQXEPrJnwweRGfatFnbM5dTSKPwGA==}
engines: {node: '>=14.15.0'}
peerDependencies:
typescript: ^4.3.5