Unverified Commit 6bf87b35 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Check formatting on build (#9375)

parent b3dbcbb5
module.exports = { module.exports = {
webpack: function(config) { experimental: { css: true },
if (config.resolve.alias) {
delete config.resolve.alias['react']
delete config.resolve.alias['react-dom']
}
return config
},
} }
import 'react-md/dist/react-md.light_blue-yellow.min.css'
export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
...@@ -73,7 +73,6 @@ export default () => { ...@@ -73,7 +73,6 @@ export default () => {
return ( return (
<div> <div>
<Head> <Head>
<link rel="stylesheet" href="/react-md.light_blue-yellow.min.css" />
<link <link
rel="stylesheet" rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"
......
../node_modules/react-md/dist/react-md.light_blue-yellow.min.css
\ No newline at end of file
...@@ -15,8 +15,9 @@ ...@@ -15,8 +15,9 @@
"git-clean": "git clean -d -x -e node_modules -e packages -f", "git-clean": "git clean -d -x -e node_modules -e packages -f",
"test-take2": "yarn git-reset && yarn git-clean && yarn testall", "test-take2": "yarn git-reset && yarn git-clean && yarn testall",
"test": "yarn run testall || yarn run test-take2", "test": "yarn run testall || yarn run test-take2",
"lint": "lerna run typescript && eslint . --ext js,jsx,ts,tsx", "lint": "lerna run typescript && yarn prettier-check && eslint . --ext js,jsx,ts,tsx",
"lint-fix": "eslint . --ext js,jsx,ts,tsx --fix", "lint-fix": "yarn prettier-fix && eslint . --ext js,jsx,ts,tsx --fix",
"prettier-check": "prettier --check \"**/*.{js,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,sass}\"",
"prettier-fix": "prettier --write \"**/*.{js,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,sass}\"", "prettier-fix": "prettier --write \"**/*.{js,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,sass}\"",
"types": "lerna run types --stream", "types": "lerna run types --stream",
"typescript": "lerna run typescript", "typescript": "lerna run typescript",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment