1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-12 02:03:59 +02:00

add typescript linting

This commit is contained in:
Ian Storm Taylor
2021-04-01 01:19:21 -04:00
parent d3c4e911f7
commit a406c6a738

View File

@@ -12,9 +12,10 @@
"fix": "yarn fix:prettier && yarn fix:eslint",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint": "yarn lint:typescript && yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint \"./{packages,site}/**/*.{js,jsx,ts,tsx}\"",
"lint:prettier": "prettier --check \"**/*.{css,md,js,jsx,json,ts,tsx}\"",
"lint:typescript": "tsc --build ./ --force",
"open": "open http://localhost:3000",
"prerelease": "cross-env NODE_ENV=production yarn build:rollup && yarn test && yarn lint",
"release:publish:latext": "lerna publish --force-publish",