Skip to content

Commit

Permalink
chore: run tsc during build, update prettier and eslint ignore
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed May 11, 2021
1 parent 9885018 commit 0461e7b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
!.*.js
server/build
public/build
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.next
node_modules
*.log
.DS_Store
server/build
public/build
12 changes: 0 additions & 12 deletions @types/global.d.ts

This file was deleted.

8 changes: 0 additions & 8 deletions @types/svg.d.ts

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"scripts": {
"dev": "pm2-dev pm2.config.js",
"clean": "del .cache app/styles server/build public/build",
"prebuild": "npm run clean",
"prebuild": "run-s clean type-check",
"build": "run-s build:*",
"build:css": "postcss styles --base styles --dir app/styles --env production",
"build:remix": "remix build",
"start": "vercel dev",
"type-check": "tsc",
"lint": "eslint . --ext \".js,.ts,.tsx\"",
"type-check": "tsc --project app",
"lint": "eslint . --ext \".js,.ts,.tsx\" --fix",
"format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)\"",
"validate": "yarn lint && yarn format && yarn type-check",
"validate": "run-p lint format type-check",
"prepare": "husky install"
},
"dependencies": {
Expand Down

1 comment on commit 0461e7b

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for mcan.sh ready!

✅ Preview
https://mcansh-qt0wvh4cd-mcansh.vercel.app

Built with commit 0461e7b.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.