forked from jlengstorf/gatsby-theme-jam-example
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
188 additions
and
43 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,6 +1,9 @@ | ||
module.exports = { | ||
siteMetadata: { | ||
title: "Gatsby Theme Jam Example Submission", | ||
title: `Gatsby Theme Jam Example Submission`, | ||
}, | ||
plugins: ["gatsby-plugin-theme-ui"], | ||
} | ||
plugins: [ | ||
`gatsby-plugin-theme-ui`, | ||
`gatsby-plugin-typescript` | ||
], | ||
}; |
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
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 was deleted.
Oops, something went wrong.
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,10 @@ | ||
import React, {FunctionComponent} from "react"; | ||
import Layout from "../components/layout"; | ||
|
||
const PageTemplate: FunctionComponent<{}> = () => ( | ||
<Layout> | ||
Layout... | ||
</Layout> | ||
); | ||
|
||
export default PageTemplate; |
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,28 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "esnext", | ||
"jsx": "preserve", | ||
"lib": [ | ||
"dom", | ||
"es2015", | ||
"es2017" | ||
], | ||
"strict": true, | ||
"noEmit": true, | ||
"isolatedModules": true, | ||
"esModuleInterop": true, | ||
"skipLibCheck": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"removeComments": false, | ||
"moduleResolution": "node", | ||
"preserveConstEnums": true, | ||
"baseUrl": "src", | ||
"noImplicitAny": false, | ||
"allowSyntheticDefaultImports": true | ||
}, | ||
"include": [ | ||
"./theme/src/**/*" | ||
] | ||
} |
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,14 @@ | ||
{ | ||
"extends": [ | ||
"tslint:latest", | ||
"tslint-react", | ||
"tslint-react-hooks" | ||
], | ||
"rules": { | ||
"interface-name": false, | ||
"object-literal-sort-keys": false, | ||
"ordered-imports": false, | ||
"jsx-no-multiline-js": false, | ||
"react-hooks-nesting": "error" | ||
} | ||
} |
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