File tree Expand file tree Collapse file tree 6 files changed +15
-14
lines changed
Expand file tree Collapse file tree 6 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
3+ - ' 14'
34 - ' 12'
45 - ' 10'
5- - ' 8'
Original file line number Diff line number Diff line change @@ -48,6 +48,6 @@ render(
4848);
4949```
5050*/
51- declare const Link : ReactFC < Props >
51+ declare const Link : ReactFC < Props > ;
5252
53- export default Link
53+ export default Link ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Link.propTypes = {
1919 PropTypes . node
2020 ] ) . isRequired ,
2121 url : PropTypes . string ,
22- fallback : PropTypes . bool
22+ fallback : PropTypes . bool // eslint-disable-line react/boolean-prop-naming
2323} ;
2424
2525Link . defaultProps = {
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
22import Link from '.' ;
33
4+ // eslint-disable-next-line @typescript-eslint/no-unused-expressions
45( ) => {
56 return (
67 < >
78 < Link />
8- < Link url = ' https://sindresorhus.com/' />
9+ < Link url = " https://sindresorhus.com/" />
910 < Link fallback = { false } />
1011 </ >
11- )
12- }
12+ ) ;
13+ } ;
Original file line number Diff line number Diff line change 1212 },
1313 "main" : " dist.js" ,
1414 "engines" : {
15- "node" : " >=8 "
15+ "node" : " >=10 "
1616 },
1717 "scripts" : {
1818 "build" : " babel index.js --out-file=dist.js" ,
4848 "@babel/preset-react" : " ^7.0.0" ,
4949 "@types/react" : " ^16.9.16" ,
5050 "ava" : " ^1.3.1" ,
51- "clear-module" : " ^3 .1.0 " ,
52- "eslint-config-xo-react" : " ^0.19 .0" ,
51+ "clear-module" : " ^4 .1.1 " ,
52+ "eslint-config-xo-react" : " ^0.23 .0" ,
5353 "eslint-plugin-react" : " ^7.7.0" ,
54- "eslint-plugin-react-hooks" : " ^1. 4.0" ,
54+ "eslint-plugin-react-hooks" : " ^4.0.8 " ,
5555 "ink" : " ^3.0.3" ,
5656 "ink-testing-library" : " ^2.0.1" ,
5757 "react" : " ^16.8.2" ,
58- "tsd" : " ^0.11.0 " ,
59- "xo" : " ^0.24 .0"
58+ "tsd" : " ^0.13.1 " ,
59+ "xo" : " ^0.33 .0"
6060 },
6161 "peerDependencies" : {
6262 "ink" : " >=3.0.0" ,
Original file line number Diff line number Diff line change 1- # ink-link [ ![ Build Status] ( https://travis-ci.org /sindresorhus/ink-link.svg?branch=master )] ( https://travis-ci.org /sindresorhus/ink-link )
1+ # ink-link [ ![ Build Status] ( https://travis-ci.com /sindresorhus/ink-link.svg?branch=master )] ( https://travis-ci.com/github /sindresorhus/ink-link )
22
33> Link component for [ Ink] ( https://github.com/vadimdemedes/ink )
44
You can’t perform that action at this time.
0 commit comments