Skip to content

Commit

Permalink
chore: remove unneeded document template
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelmord committed Jan 28, 2020
1 parent 8b45bbb commit a4628d7
Show file tree
Hide file tree
Showing 7 changed files with 555 additions and 91 deletions.
9 changes: 9 additions & 0 deletions packages/poolbase-app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
module.exports = {
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
'plugin:prettier/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
],
parserOptions: {
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
ecmaFeatures: {
jsx: true, // Allows for the parsing of JSX
},
},
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
},
settings: {
react: {
version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use
},
},
};
4 changes: 3 additions & 1 deletion packages/poolbase-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@
"@types/node": "^13.5.0",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/theme-ui": "^0.2.7",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"cpx": "1.5.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"prettier": "^1.19.1",
"rimraf": "3.0.0",
"rimraf": "^3.0.1",
"typescript": "^3.7.5"
}
}
11 changes: 0 additions & 11 deletions packages/poolbase-app/src/app/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ import Header from '../components/Header';
import theme from '../theme';

class MyApp extends App {
// Only uncomment this method if you have blocking data requirements for
// every single page in your application. This disables the ability to
// perform automatic static optimization, causing every page in your app to
// be server-side rendered.
//
// static async getInitialProps(appContext) {
// // calls page's `getInitialProps` and fills `appProps.pageProps`
// const appProps = await App.getInitialProps(appContext);
//
// return { ...appProps }
// }

render() {
const { Component, pageProps } = this.props;
Expand Down
23 changes: 0 additions & 23 deletions packages/poolbase-app/src/app/pages/_document.tsx

This file was deleted.

Loading

0 comments on commit a4628d7

Please sign in to comment.