This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"javascript.suggest.autoImports": true, | |
"explorer.confirmDelete": false, | |
"gitlens.codeLens.enabled": false, | |
"material-icon-theme.folders.associations": { | |
"subscribers": "messages", | |
"organisms": "public", | |
"kube": "kubernetes", | |
"entities": "class", | |
"modules": "components", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"typescriptFunctionalComponent": { | |
"prefix": "rfc", | |
"body": [ | |
"import React from 'react';", | |
"", | |
"// import { Container } from './styles';", | |
"", | |
"interface Props {", | |
"", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { FormHandles, SubmitHandler } from '@unform/core'; | |
import { RefObject, useCallback, useState } from 'react'; | |
import { ObjectSchema, ValidationError } from 'yup'; | |
type Hook = <T>( | |
args: Props<T>, | |
) => { | |
validating: boolean; | |
handleSubmit: SubmitHandler<T>; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useMemo } from 'react'; | |
import { | |
useScreen, | |
ScreenContextData, | |
MediaQuery, | |
BreakpointValues, | |
rem, | |
getNearestBreakpointValue, | |
validateMediaQuery | |
} from 'responsive-native'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To open the .gitconfig file on xcode, run: git config --global core.editor code | |
# To edit the .gitconfig file, run: git config --global --edit | |
[core] | |
editor = code | |
[alias] | |
c = !git add --all && git commit -m | |
s = !git status -s | |
l = !git log --pretty=format:'%C(blue)%h %C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr' |