fix linting issues

This commit is contained in:
41666 2021-03-10 00:12:01 -05:00
parent c477f63b56
commit 40f577d01d
5 changed files with 42 additions and 45 deletions

View file

@ -1,9 +1,8 @@
import { AppShell } from '@roleypoly/design-system/organisms/app-shell';
import { Landing } from '@roleypoly/design-system/organisms/landing';
import * as React from 'react';
import { ProvidableAppShellProps } from 'roleypoly/providers/appShellData';
export const LandingTemplate = (props: ProvidableAppShellProps) => (
export const LandingTemplate = (props: any) => (
<AppShell showFooter {...props}>
<Landing />
</AppShell>

View file

@ -2,6 +2,12 @@
"name": "@roleypoly/web",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "cross-env BUILD_PATH=../../dist react-scripts build",
"eject": "react-scripts eject",
"start": "react-scripts start",
"test": "react-scripts test"
},
"dependencies": {
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
@ -17,22 +23,10 @@
"web-vitals": "^1.1.0"
},
"devDependencies": {
"cross-env": "7.0.3",
"babel-loader": "8.1.0",
"cross-env": "7.0.3",
"webpack": "4.44.2"
},
"scripts": {
"start": "react-scripts start",
"build": "cross-env BUILD_PATH=../../dist react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
@ -44,5 +38,11 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
}
}

View file

@ -1,13 +1,11 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

View file

@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import './index.css';
import reportWebVitals from './reportWebVitals';
ReactDOM.render(