-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into lost-pixel
- Loading branch information
Showing
38 changed files
with
4,829 additions
and
6,798 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,36 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true | ||
es2021: true, | ||
node: true, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:jsx-a11y/recommended', | ||
'plugin:react/recommended' | ||
'plugin:react/recommended', | ||
], | ||
globals: { | ||
Atomics: 'readonly', | ||
SharedArrayBuffer: 'readonly' | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true | ||
jsx: true, | ||
}, | ||
ecmaVersion: 2018, | ||
sourceType: 'module' | ||
}, | ||
plugins: ['@typescript-eslint', 'jsx-a11y', 'react'], | ||
root: true, | ||
rules: { | ||
'no-console': 'error', | ||
'react/no-unescaped-entities': [ | ||
'error', | ||
{ | ||
forbid: ['>', '}'] | ||
} | ||
] | ||
forbid: ['>', '}'], | ||
}, | ||
], | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect' | ||
} | ||
} | ||
version: 'detect', | ||
}, | ||
}, | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
npm test | ||
npx lint-staged | ||
npm run type-check |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"jsxSingleQuote": true, | ||
"proseWrap": "always", | ||
"semi": false, | ||
"singleQuote": true | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"rules": { | ||
"at-rule-no-unknown": [true, { | ||
"ignoreAtRules": [ | ||
"screen", | ||
"tailwind" | ||
] | ||
}] | ||
"at-rule-no-unknown": [ | ||
true, | ||
{ | ||
"ignoreAtRules": ["screen", "tailwind"] | ||
} | ||
], | ||
"function-no-unknown": [ | ||
true, | ||
{ | ||
"ignoreFunctions": ["theme"] | ||
} | ||
] | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import React from 'react' | ||
|
||
import { RenderBodyArgs } from 'gatsby' | ||
|
||
export const onRenderBody = (args: RenderBodyArgs) => { | ||
args.setHtmlAttributes({ | ||
className: 'bg-secondary', | ||
}) | ||
|
||
args.setHeadComponents([ | ||
<meta | ||
content='John' | ||
key='profile:first_name' | ||
property='profile:first_name' | ||
/>, | ||
<meta | ||
content='Kurkowski' | ||
key='profile:last_name' | ||
property='profile:last_name' | ||
/>, | ||
|
||
<meta | ||
content='width=device-width, initial-scale=1.0, viewport-fit=cover' | ||
key='viewport' | ||
name='viewport' | ||
/>, | ||
|
||
<link | ||
crossOrigin='anonymous' | ||
href='https://fonts.gstatic.com/' | ||
key='preconnect' | ||
rel='preconnect' | ||
/>, | ||
<link | ||
as='style' | ||
href='https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:wght@400;600;700;800' | ||
key='preload' | ||
rel='preload' | ||
/>, | ||
<link | ||
href='https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:wght@400;600;700;800' | ||
key='stylesheet' | ||
rel='stylesheet' | ||
/>, | ||
|
||
<link key='shortcut icon' href='/favicon.ico' rel='shortcut icon' />, | ||
<link | ||
key='apple-touch-icon' | ||
href='/avatar@2X.jpeg' | ||
rel='apple-touch-icon' | ||
/>, | ||
<meta content='/avatar@2X.jpeg' key='og:image' property='og:image' />, | ||
<meta | ||
content='/avatar@2X.jpeg' | ||
key='twitter:image:src' | ||
name='twitter:image:src' | ||
/>, | ||
<meta content='summary' key='twitter:card' name='twitter:card' />, | ||
<meta content='@bluu' key='twitter:site' name='twitter:site' />, | ||
<meta content='@bluu' key='twitter:creator' name='twitter:creator' />, | ||
]) | ||
} |
Oops, something went wrong.