mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: upgrade eslint rule to allow 'noreferrer' in react app
This commit is contained in:
parent
af5e3b416e
commit
028b5fecf0
6 changed files with 36 additions and 37 deletions
|
@ -28,10 +28,10 @@
|
||||||
"@parcel/transformer-sass": "2.6.2",
|
"@parcel/transformer-sass": "2.6.2",
|
||||||
"@parcel/transformer-svg-react": "2.6.2",
|
"@parcel/transformer-svg-react": "2.6.2",
|
||||||
"@silverhand/eslint-config": "^0.16.2",
|
"@silverhand/eslint-config": "^0.16.2",
|
||||||
"@silverhand/eslint-config-react": "^0.16.2",
|
"@silverhand/eslint-config-react": "^0.16.3",
|
||||||
"@silverhand/essentials": "^1.1.6",
|
"@silverhand/essentials": "^1.1.6",
|
||||||
"@silverhand/ts-config": "^0.16.2",
|
"@silverhand/ts-config": "^0.16.2",
|
||||||
"@silverhand/ts-config-react": "^0.16.2",
|
"@silverhand/ts-config-react": "^0.16.3",
|
||||||
"@tsconfig/docusaurus": "^1.0.5",
|
"@tsconfig/docusaurus": "^1.0.5",
|
||||||
"@types/color": "^3.0.3",
|
"@types/color": "^3.0.3",
|
||||||
"@types/lodash.kebabcase": "^4.1.6",
|
"@types/lodash.kebabcase": "^4.1.6",
|
||||||
|
|
|
@ -50,7 +50,6 @@ const Item = ({ icon, titleKey, modal, externalLink, isActive = false }: Props)
|
||||||
|
|
||||||
if (externalLink) {
|
if (externalLink) {
|
||||||
return (
|
return (
|
||||||
// eslint-disable-next-line react/jsx-no-target-blank
|
|
||||||
<a href={externalLink} target="_blank" className={styles.row} rel="noopener">
|
<a href={externalLink} target="_blank" className={styles.row} rel="noopener">
|
||||||
{content}
|
{content}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
"@parcel/core": "2.6.2",
|
"@parcel/core": "2.6.2",
|
||||||
"@parcel/transformer-sass": "2.6.2",
|
"@parcel/transformer-sass": "2.6.2",
|
||||||
"@silverhand/eslint-config": "^0.16.2",
|
"@silverhand/eslint-config": "^0.16.2",
|
||||||
"@silverhand/eslint-config-react": "^0.16.2",
|
"@silverhand/eslint-config-react": "^0.16.3",
|
||||||
"@silverhand/ts-config": "^0.16.2",
|
"@silverhand/ts-config": "^0.16.2",
|
||||||
"@silverhand/ts-config-react": "^0.16.2",
|
"@silverhand/ts-config-react": "^0.16.3",
|
||||||
"@types/react": "^17.0.14",
|
"@types/react": "^17.0.14",
|
||||||
"@types/react-dom": "^17.0.9",
|
"@types/react-dom": "^17.0.9",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
|
|
|
@ -23,10 +23,10 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@silverhand/eslint-config": "^0.16.2",
|
"@silverhand/eslint-config": "^0.16.2",
|
||||||
"@silverhand/eslint-config-react": "^0.16.2",
|
"@silverhand/eslint-config-react": "^0.16.3",
|
||||||
"@silverhand/essentials": "^1.1.6",
|
"@silverhand/essentials": "^1.1.6",
|
||||||
"@silverhand/ts-config": "^0.16.2",
|
"@silverhand/ts-config": "^0.16.2",
|
||||||
"@silverhand/ts-config-react": "^0.16.2",
|
"@silverhand/ts-config-react": "^0.16.3",
|
||||||
"@types/color": "^3.0.3",
|
"@types/color": "^3.0.3",
|
||||||
"@types/node": "^16.3.1",
|
"@types/node": "^16.3.1",
|
||||||
"eslint": "^8.19.0",
|
"eslint": "^8.19.0",
|
||||||
|
|
|
@ -24,11 +24,11 @@
|
||||||
"@parcel/transformer-svg-react": "2.6.2",
|
"@parcel/transformer-svg-react": "2.6.2",
|
||||||
"@peculiar/webcrypto": "^1.3.3",
|
"@peculiar/webcrypto": "^1.3.3",
|
||||||
"@silverhand/eslint-config": "^0.16.2",
|
"@silverhand/eslint-config": "^0.16.2",
|
||||||
"@silverhand/eslint-config-react": "^0.16.2",
|
"@silverhand/eslint-config-react": "^0.16.3",
|
||||||
"@silverhand/essentials": "^1.1.7",
|
"@silverhand/essentials": "^1.1.7",
|
||||||
"@silverhand/jest-config": "^0.16.2",
|
"@silverhand/jest-config": "^0.16.2",
|
||||||
"@silverhand/ts-config": "^0.16.2",
|
"@silverhand/ts-config": "^0.16.2",
|
||||||
"@silverhand/ts-config-react": "^0.16.2",
|
"@silverhand/ts-config-react": "^0.16.3",
|
||||||
"@testing-library/react": "^12.0.0",
|
"@testing-library/react": "^12.0.0",
|
||||||
"@types/color": "^3.0.3",
|
"@types/color": "^3.0.3",
|
||||||
"@types/jest": "^27.4.1",
|
"@types/jest": "^27.4.1",
|
||||||
|
|
|
@ -677,10 +677,10 @@ importers:
|
||||||
'@parcel/transformer-sass': 2.6.2
|
'@parcel/transformer-sass': 2.6.2
|
||||||
'@parcel/transformer-svg-react': 2.6.2
|
'@parcel/transformer-svg-react': 2.6.2
|
||||||
'@silverhand/eslint-config': ^0.16.2
|
'@silverhand/eslint-config': ^0.16.2
|
||||||
'@silverhand/eslint-config-react': ^0.16.2
|
'@silverhand/eslint-config-react': ^0.16.3
|
||||||
'@silverhand/essentials': ^1.1.6
|
'@silverhand/essentials': ^1.1.6
|
||||||
'@silverhand/ts-config': ^0.16.2
|
'@silverhand/ts-config': ^0.16.2
|
||||||
'@silverhand/ts-config-react': ^0.16.2
|
'@silverhand/ts-config-react': ^0.16.3
|
||||||
'@tsconfig/docusaurus': ^1.0.5
|
'@tsconfig/docusaurus': ^1.0.5
|
||||||
'@types/color': ^3.0.3
|
'@types/color': ^3.0.3
|
||||||
'@types/lodash.kebabcase': ^4.1.6
|
'@types/lodash.kebabcase': ^4.1.6
|
||||||
|
@ -740,10 +740,10 @@ importers:
|
||||||
'@parcel/transformer-sass': 2.6.2_@parcel+core@2.6.2
|
'@parcel/transformer-sass': 2.6.2_@parcel+core@2.6.2
|
||||||
'@parcel/transformer-svg-react': 2.6.2_@parcel+core@2.6.2
|
'@parcel/transformer-svg-react': 2.6.2_@parcel+core@2.6.2
|
||||||
'@silverhand/eslint-config': 0.16.2_p5objg4caidgyoetvwyew6x4pi
|
'@silverhand/eslint-config': 0.16.2_p5objg4caidgyoetvwyew6x4pi
|
||||||
'@silverhand/eslint-config-react': 0.16.2_2ixrhdpikn23ahbzd4tsakmppu
|
'@silverhand/eslint-config-react': 0.16.3_2ixrhdpikn23ahbzd4tsakmppu
|
||||||
'@silverhand/essentials': 1.1.6
|
'@silverhand/essentials': 1.1.6
|
||||||
'@silverhand/ts-config': 0.16.2_typescript@4.6.2
|
'@silverhand/ts-config': 0.16.2_typescript@4.6.2
|
||||||
'@silverhand/ts-config-react': 0.16.2_typescript@4.6.2
|
'@silverhand/ts-config-react': 0.16.3_typescript@4.6.2
|
||||||
'@tsconfig/docusaurus': 1.0.5
|
'@tsconfig/docusaurus': 1.0.5
|
||||||
'@types/color': 3.0.3
|
'@types/color': 3.0.3
|
||||||
'@types/lodash.kebabcase': 4.1.6
|
'@types/lodash.kebabcase': 4.1.6
|
||||||
|
@ -974,9 +974,9 @@ importers:
|
||||||
'@parcel/core': 2.6.2
|
'@parcel/core': 2.6.2
|
||||||
'@parcel/transformer-sass': 2.6.2
|
'@parcel/transformer-sass': 2.6.2
|
||||||
'@silverhand/eslint-config': ^0.16.2
|
'@silverhand/eslint-config': ^0.16.2
|
||||||
'@silverhand/eslint-config-react': ^0.16.2
|
'@silverhand/eslint-config-react': ^0.16.3
|
||||||
'@silverhand/ts-config': ^0.16.2
|
'@silverhand/ts-config': ^0.16.2
|
||||||
'@silverhand/ts-config-react': ^0.16.2
|
'@silverhand/ts-config-react': ^0.16.3
|
||||||
'@types/react': ^17.0.14
|
'@types/react': ^17.0.14
|
||||||
'@types/react-dom': ^17.0.9
|
'@types/react-dom': ^17.0.9
|
||||||
cross-env: ^7.0.3
|
cross-env: ^7.0.3
|
||||||
|
@ -1000,9 +1000,9 @@ importers:
|
||||||
'@parcel/core': 2.6.2
|
'@parcel/core': 2.6.2
|
||||||
'@parcel/transformer-sass': 2.6.2_@parcel+core@2.6.2
|
'@parcel/transformer-sass': 2.6.2_@parcel+core@2.6.2
|
||||||
'@silverhand/eslint-config': 0.16.2_zheml67kdyttrjblcc5k6h6tmu
|
'@silverhand/eslint-config': 0.16.2_zheml67kdyttrjblcc5k6h6tmu
|
||||||
'@silverhand/eslint-config-react': 0.16.2_fje4u3hr6htkinpztjqt63vn2q
|
'@silverhand/eslint-config-react': 0.16.3_fje4u3hr6htkinpztjqt63vn2q
|
||||||
'@silverhand/ts-config': 0.16.2_typescript@4.7.2
|
'@silverhand/ts-config': 0.16.2_typescript@4.7.2
|
||||||
'@silverhand/ts-config-react': 0.16.2_typescript@4.7.2
|
'@silverhand/ts-config-react': 0.16.3_typescript@4.7.2
|
||||||
'@types/react': 17.0.37
|
'@types/react': 17.0.37
|
||||||
'@types/react-dom': 17.0.11
|
'@types/react-dom': 17.0.11
|
||||||
cross-env: 7.0.3
|
cross-env: 7.0.3
|
||||||
|
@ -1145,10 +1145,10 @@ importers:
|
||||||
packages/shared:
|
packages/shared:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@silverhand/eslint-config': ^0.16.2
|
'@silverhand/eslint-config': ^0.16.2
|
||||||
'@silverhand/eslint-config-react': ^0.16.2
|
'@silverhand/eslint-config-react': ^0.16.3
|
||||||
'@silverhand/essentials': ^1.1.6
|
'@silverhand/essentials': ^1.1.6
|
||||||
'@silverhand/ts-config': ^0.16.2
|
'@silverhand/ts-config': ^0.16.2
|
||||||
'@silverhand/ts-config-react': ^0.16.2
|
'@silverhand/ts-config-react': ^0.16.3
|
||||||
'@types/color': ^3.0.3
|
'@types/color': ^3.0.3
|
||||||
'@types/node': ^16.3.1
|
'@types/node': ^16.3.1
|
||||||
color: ^4.2.3
|
color: ^4.2.3
|
||||||
|
@ -1162,10 +1162,10 @@ importers:
|
||||||
color: 4.2.3
|
color: 4.2.3
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@silverhand/eslint-config': 0.16.2_udveqfgjtporakzcjlry75cuqi
|
'@silverhand/eslint-config': 0.16.2_udveqfgjtporakzcjlry75cuqi
|
||||||
'@silverhand/eslint-config-react': 0.16.2_ooy3j52eylrixuekzgeaykdz54
|
'@silverhand/eslint-config-react': 0.16.3_ooy3j52eylrixuekzgeaykdz54
|
||||||
'@silverhand/essentials': 1.1.7
|
'@silverhand/essentials': 1.1.7
|
||||||
'@silverhand/ts-config': 0.16.2_typescript@4.6.3
|
'@silverhand/ts-config': 0.16.2_typescript@4.6.3
|
||||||
'@silverhand/ts-config-react': 0.16.2_typescript@4.6.3
|
'@silverhand/ts-config-react': 0.16.3_typescript@4.6.3
|
||||||
'@types/color': 3.0.3
|
'@types/color': 3.0.3
|
||||||
'@types/node': 16.11.12
|
'@types/node': 16.11.12
|
||||||
eslint: 8.19.0
|
eslint: 8.19.0
|
||||||
|
@ -1186,11 +1186,11 @@ importers:
|
||||||
'@parcel/transformer-svg-react': 2.6.2
|
'@parcel/transformer-svg-react': 2.6.2
|
||||||
'@peculiar/webcrypto': ^1.3.3
|
'@peculiar/webcrypto': ^1.3.3
|
||||||
'@silverhand/eslint-config': ^0.16.2
|
'@silverhand/eslint-config': ^0.16.2
|
||||||
'@silverhand/eslint-config-react': ^0.16.2
|
'@silverhand/eslint-config-react': ^0.16.3
|
||||||
'@silverhand/essentials': ^1.1.7
|
'@silverhand/essentials': ^1.1.7
|
||||||
'@silverhand/jest-config': ^0.16.2
|
'@silverhand/jest-config': ^0.16.2
|
||||||
'@silverhand/ts-config': ^0.16.2
|
'@silverhand/ts-config': ^0.16.2
|
||||||
'@silverhand/ts-config-react': ^0.16.2
|
'@silverhand/ts-config-react': ^0.16.3
|
||||||
'@testing-library/react': ^12.0.0
|
'@testing-library/react': ^12.0.0
|
||||||
'@types/color': ^3.0.3
|
'@types/color': ^3.0.3
|
||||||
'@types/jest': ^27.4.1
|
'@types/jest': ^27.4.1
|
||||||
|
@ -1238,11 +1238,11 @@ importers:
|
||||||
'@parcel/transformer-svg-react': 2.6.2_@parcel+core@2.6.2
|
'@parcel/transformer-svg-react': 2.6.2_@parcel+core@2.6.2
|
||||||
'@peculiar/webcrypto': 1.3.3
|
'@peculiar/webcrypto': 1.3.3
|
||||||
'@silverhand/eslint-config': 0.16.2_p5objg4caidgyoetvwyew6x4pi
|
'@silverhand/eslint-config': 0.16.2_p5objg4caidgyoetvwyew6x4pi
|
||||||
'@silverhand/eslint-config-react': 0.16.2_2ixrhdpikn23ahbzd4tsakmppu
|
'@silverhand/eslint-config-react': 0.16.3_2ixrhdpikn23ahbzd4tsakmppu
|
||||||
'@silverhand/essentials': 1.1.7
|
'@silverhand/essentials': 1.1.7
|
||||||
'@silverhand/jest-config': 0.16.2_makj2rl6gt73u7koqro542qsmm
|
'@silverhand/jest-config': 0.16.2_makj2rl6gt73u7koqro542qsmm
|
||||||
'@silverhand/ts-config': 0.16.2_typescript@4.6.2
|
'@silverhand/ts-config': 0.16.2_typescript@4.6.2
|
||||||
'@silverhand/ts-config-react': 0.16.2_typescript@4.6.2
|
'@silverhand/ts-config-react': 0.16.3_typescript@4.6.2
|
||||||
'@testing-library/react': 12.1.5_sfoxds7t5ydpegc3knd667wn6m
|
'@testing-library/react': 12.1.5_sfoxds7t5ydpegc3knd667wn6m
|
||||||
'@types/color': 3.0.3
|
'@types/color': 3.0.3
|
||||||
'@types/jest': 27.4.1
|
'@types/jest': 27.4.1
|
||||||
|
@ -4282,8 +4282,8 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@silverhand/eslint-config-react/0.16.2_2ixrhdpikn23ahbzd4tsakmppu:
|
/@silverhand/eslint-config-react/0.16.3_2ixrhdpikn23ahbzd4tsakmppu:
|
||||||
resolution: {integrity: sha512-Hqe+1Q+VTIKAOWd+Sk1Z9b94zOEJGeRZNmJjTwLmZ6BnfA7MvFArSbI3qed0gQ0unB/UdaExL0DQYBUxkc8kEA==}
|
resolution: {integrity: sha512-HF4Jyl47xAlEpeJ7gHsg1EV+bk5OfEp05c3etmap9kMS1OXJlsVGzjW5IXr/87CQXSvOcVvMXkL6MiohCE5Ffw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
stylelint: ^14.8.2
|
stylelint: ^14.8.2
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -4301,8 +4301,8 @@ packages:
|
||||||
- typescript
|
- typescript
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@silverhand/eslint-config-react/0.16.2_fje4u3hr6htkinpztjqt63vn2q:
|
/@silverhand/eslint-config-react/0.16.3_fje4u3hr6htkinpztjqt63vn2q:
|
||||||
resolution: {integrity: sha512-Hqe+1Q+VTIKAOWd+Sk1Z9b94zOEJGeRZNmJjTwLmZ6BnfA7MvFArSbI3qed0gQ0unB/UdaExL0DQYBUxkc8kEA==}
|
resolution: {integrity: sha512-HF4Jyl47xAlEpeJ7gHsg1EV+bk5OfEp05c3etmap9kMS1OXJlsVGzjW5IXr/87CQXSvOcVvMXkL6MiohCE5Ffw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
stylelint: ^14.8.2
|
stylelint: ^14.8.2
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -4320,8 +4320,8 @@ packages:
|
||||||
- typescript
|
- typescript
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@silverhand/eslint-config-react/0.16.2_ooy3j52eylrixuekzgeaykdz54:
|
/@silverhand/eslint-config-react/0.16.3_ooy3j52eylrixuekzgeaykdz54:
|
||||||
resolution: {integrity: sha512-Hqe+1Q+VTIKAOWd+Sk1Z9b94zOEJGeRZNmJjTwLmZ6BnfA7MvFArSbI3qed0gQ0unB/UdaExL0DQYBUxkc8kEA==}
|
resolution: {integrity: sha512-HF4Jyl47xAlEpeJ7gHsg1EV+bk5OfEp05c3etmap9kMS1OXJlsVGzjW5IXr/87CQXSvOcVvMXkL6MiohCE5Ffw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
stylelint: ^14.8.2
|
stylelint: ^14.8.2
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -4582,8 +4582,8 @@ packages:
|
||||||
- typescript
|
- typescript
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@silverhand/ts-config-react/0.16.2_typescript@4.6.2:
|
/@silverhand/ts-config-react/0.16.3_typescript@4.6.2:
|
||||||
resolution: {integrity: sha512-PrrnbpN5pT+egk05+9RE49Vf5raPaDVUrcJSc2LZ7RGUNk0a6n2mWFAspuUNjQjisCKQxsjeVOMBOFGtA5N6bg==}
|
resolution: {integrity: sha512-yzHp8CWh+yTu+9IDvCLok/eHtqouFEIXH9cpWVz6NDNfm8oiyzc1rBln7kK01lobbSidBxcH5zmEdt1ah7La3A==}
|
||||||
engines: {node: '>=14.15.0'}
|
engines: {node: '>=14.15.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: ^4.3.5
|
typescript: ^4.3.5
|
||||||
|
@ -4592,8 +4592,8 @@ packages:
|
||||||
typescript: 4.6.2
|
typescript: 4.6.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@silverhand/ts-config-react/0.16.2_typescript@4.6.3:
|
/@silverhand/ts-config-react/0.16.3_typescript@4.6.3:
|
||||||
resolution: {integrity: sha512-PrrnbpN5pT+egk05+9RE49Vf5raPaDVUrcJSc2LZ7RGUNk0a6n2mWFAspuUNjQjisCKQxsjeVOMBOFGtA5N6bg==}
|
resolution: {integrity: sha512-yzHp8CWh+yTu+9IDvCLok/eHtqouFEIXH9cpWVz6NDNfm8oiyzc1rBln7kK01lobbSidBxcH5zmEdt1ah7La3A==}
|
||||||
engines: {node: '>=14.15.0'}
|
engines: {node: '>=14.15.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: ^4.3.5
|
typescript: ^4.3.5
|
||||||
|
@ -4602,8 +4602,8 @@ packages:
|
||||||
typescript: 4.6.3
|
typescript: 4.6.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@silverhand/ts-config-react/0.16.2_typescript@4.7.2:
|
/@silverhand/ts-config-react/0.16.3_typescript@4.7.2:
|
||||||
resolution: {integrity: sha512-PrrnbpN5pT+egk05+9RE49Vf5raPaDVUrcJSc2LZ7RGUNk0a6n2mWFAspuUNjQjisCKQxsjeVOMBOFGtA5N6bg==}
|
resolution: {integrity: sha512-yzHp8CWh+yTu+9IDvCLok/eHtqouFEIXH9cpWVz6NDNfm8oiyzc1rBln7kK01lobbSidBxcH5zmEdt1ah7La3A==}
|
||||||
engines: {node: '>=14.15.0'}
|
engines: {node: '>=14.15.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
typescript: ^4.3.5
|
typescript: ^4.3.5
|
||||||
|
|
Loading…
Reference in a new issue