Clone your fork.
git clone [email protected]:YOUR_USERNAME/FORKED_REPO.git
Add the remote upstream to git
git remote add upstream git://github.com/ORIGIN_USERNAME/ORIGIN_REPO.git
Clone your fork.
git clone [email protected]:YOUR_USERNAME/FORKED_REPO.git
Add the remote upstream to git
git remote add upstream git://github.com/ORIGIN_USERNAME/ORIGIN_REPO.git
{ | |
"defaultSeverity": "error", | |
"rules": { | |
"adjacent-overload-signatures": true, | |
"align": true, | |
"array-type": true, | |
"arrow-parens": true, | |
"arrow-return-shorthand": true, | |
"await-promise": true, | |
"ban": true, |
{ | |
"data": { | |
"__schema": { | |
"queryType": { | |
"name": "Query" | |
}, | |
"mutationType": { | |
"name": "Mutation" | |
}, | |
"subscriptionType": null, |
query IntrospectionQuery { | |
__schema { | |
queryType { name } | |
mutationType { name } | |
subscriptionType { name } | |
types { | |
...FullType | |
} | |
directives { |
import React, { useState, createContext } from "react" | |
import { useTranslation } from "react-i18next" | |
export const AppProvider = createContext() | |
export const Provider = ({ children }) => { | |
const { i18n } = useTranslation() | |
const [cookie, setCookie] = useState(false) | |
const [language, setLanguage] = useState("ENGLISH") |
import clsx from 'rn-clsx'; | |
export const spacing = { | |
xs: 4, | |
sm: 8, | |
md: 16, | |
lg: 24, | |
xlg: 32, | |
}; |