react-cool-portal
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -5,4 +5,4 @@ declare module 'react-cool-portal' { | ||
MouseEvent as ReactMouseEvent, | ||
SFC, | ||
ReactNode | ||
FC, | ||
ReactNode, | ||
} from 'react'; | ||
@@ -14,3 +14,3 @@ | ||
type Portal = SFC<{ children: ReactNode }>; | ||
type Portal = FC<{ children: ReactNode }>; | ||
@@ -17,0 +17,0 @@ interface Args { |
{ | ||
"name": "react-cool-portal", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "React hook for Portals, which renders modals, dropdowns, tooltips etc. to <body> or else.", | ||
@@ -98,5 +98,6 @@ "license": "MIT", | ||
"@typescript-eslint", | ||
"prettier", | ||
"emotion", | ||
"testing-library" | ||
"jest", | ||
"testing-library", | ||
"prettier" | ||
], | ||
@@ -107,2 +108,4 @@ "extends": [ | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:jest/recommended", | ||
"plugin:jest/style", | ||
"plugin:testing-library/recommended", | ||
@@ -153,2 +156,4 @@ "plugin:prettier/recommended", | ||
"import/no-extraneous-dependencies": "off", | ||
"@typescript-eslint/ban-ts-ignore": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"prettier/prettier": [ | ||
@@ -159,5 +164,3 @@ "error", | ||
} | ||
], | ||
"@typescript-eslint/ban-ts-ignore": "off", | ||
"@typescript-eslint/no-explicit-any": "off" | ||
] | ||
} | ||
@@ -169,5 +172,2 @@ }, | ||
], | ||
"prettier": { | ||
"singleQuote": true | ||
}, | ||
"stylelint": { | ||
@@ -228,2 +228,3 @@ "plugins": [ | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-jest": "^23.8.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
@@ -230,0 +231,0 @@ "eslint-plugin-prettier": "^3.1.2", |
29524
58