Adding ESLint config -- run yarn lint on prebuild

This commit is contained in:
kitajchuk
2021-04-26 20:47:17 -07:00
parent 7dcb1f5a8c
commit 27e3ca561b
13 changed files with 896 additions and 22 deletions

View File

@@ -22,6 +22,10 @@ Clone this repository and install [yarn](https://yarnpkg.com/getting-started/ins
- Installs node packages
- `yarn dev`
- Serves local dev at [localhost:3000](http://localhost:3000)
- `yarn lint`
- Runs [ESLint](https://eslint.org/) validations on source JS
- ESLint errors will fail your builds so check your code before pushing
- Install the [ESLint plugin for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint&ssr=false#overview)
- `yarn build && yarn start`
- Create an optimized Next.js production build and serve it locally
- `yarn build && yarn export`