setup linter

This commit is contained in:
Lukasz Ostrowski 2023-01-20 17:38:13 +01:00
parent b9e3b5ca26
commit dae66beb59
4 changed files with 26 additions and 5 deletions

View file

@ -1,3 +1,3 @@
{ {
"extends": ["next", "prettier"] "extends": ["custom"]
} }

View file

@ -1,3 +1,3 @@
{ {
"extends": ["next", "prettier"] "extends": ["custom"]
} }

View file

@ -4,7 +4,7 @@ export default function Document() {
return ( return (
<Html> <Html>
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="crossorigin" /> <link rel="preconnect" href="https://fonts.gstatic.com" />
<Head /> <Head />
<link <link
href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700;800&display=swap" href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700;800&display=swap"

View file

@ -1,10 +1,31 @@
{ {
"$schema": "https://turbo.build/schema.json", "$schema": "https://turbo.build/schema.json",
"globalDependencies": [],
"pipeline": { "pipeline": {
"build": { "build": {
"outputs": [".next/**"] "outputs": [".next/**"]
}, },
"saleor-app-invoice#build": {
"env": [
"APL",
"APP_DEBUG",
"NODE_ENV",
"SECRET_KEY",
"VERCEL_URL",
"PORT",
"ALLOWED_DOMAIN_PATTERN",
"TEMP_PDF_STORAGE_DIR",
"SENTRY_AUTH_TOKEN",
"SENTRY_PROJECT",
"SENTRY_ORG",
"REST_APL_TOKEN",
"REST_APL_ENDPOINT",
"NEXT_PUBLIC_SENTRY_DSN",
"SENTRY_DSN"
]
},
"saleor-app-slack#build": {
"env": ["APL", "SENTRY_AUTH_TOKEN", "SENTRY_PROJECT", "SENTRY_ORG"]
},
"lint": {}, "lint": {},
"dev": { "dev": {
"cache": false, "cache": false,