File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ module.exports = {
4
4
'eslint:recommended' ,
5
5
'plugin:prettier/recommended' ,
6
6
'plugin:react/recommended' ,
7
+ 'plugin:react-hooks/recommended' ,
7
8
] ,
8
9
plugins : [ 'prettier' , 'react-native' ] ,
9
10
env : {
Original file line number Diff line number Diff line change 55
55
"eslint-config-prettier" : " ^7.2.0" ,
56
56
"eslint-plugin-prettier" : " ^3.3.1" ,
57
57
"eslint-plugin-react" : " ^7.22.0" ,
58
+ "eslint-plugin-react-hooks" : " ^4.2.0" ,
58
59
"eslint-plugin-react-native" : " ^3.10.0" ,
59
60
"husky" : " ^5.0.9" ,
60
61
"jest" : " ^26.6.3" ,
Original file line number Diff line number Diff line change 1
- import { SingleSize } from '../types/Padding'
1
+ import type { SingleSize } from '../types/Padding'
2
2
3
3
export const typeSafePaddings = ( padding : SingleSize ) => {
4
4
if ( typeof padding === 'string' ) {
Original file line number Diff line number Diff line change @@ -3974,6 +3974,11 @@ eslint-plugin-prettier@^3.3.1:
3974
3974
dependencies :
3975
3975
prettier-linter-helpers "^1.0.0"
3976
3976
3977
+ eslint-plugin-react-hooks@^4.2.0 :
3978
+ version "4.2.0"
3979
+ resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556"
3980
+ integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==
3981
+
3977
3982
eslint-plugin-react-native-globals@^0.1.1 :
3978
3983
version "0.1.2"
3979
3984
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native-globals/-/eslint-plugin-react-native-globals-0.1.2.tgz#ee1348bc2ceb912303ce6bdbd22e2f045ea86ea2"
You can’t perform that action at this time.
0 commit comments