mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-12 10:14:02 +02:00
add typescript linting
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user