chore: fix type linting scope for api

This commit is contained in:
41666 2021-03-12 17:06:06 -05:00
parent b001f3ba58
commit 016d838c93
3 changed files with 3 additions and 1 deletions

View file

@ -27,6 +27,7 @@
"lint:stylelint": "cross-env stylelint '**/*.{ts,tsx}'", "lint:stylelint": "cross-env stylelint '**/*.{ts,tsx}'",
"lint:terraform": "terraform fmt -recursive -check ./terraform", "lint:terraform": "terraform fmt -recursive -check ./terraform",
"lint:types": "tsc --noEmit", "lint:types": "tsc --noEmit",
"lint:types-api": "yarn workspace @roleypoly/api run lint:types",
"postinstall": "is-ci || husky install", "postinstall": "is-ci || husky install",
"start": "run-p -c start:*", "start": "run-p -c start:*",
"start:design-system": "yarn workspace @roleypoly/design-system start", "start:design-system": "yarn workspace @roleypoly/design-system start",

View file

@ -3,6 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"scripts": { "scripts": {
"build": "yarn workspace @roleypoly/worker-emulator build --basePath `pwd`", "build": "yarn workspace @roleypoly/worker-emulator build --basePath `pwd`",
"lint:types": "tsc --noEmit",
"start": "yarn workspace @roleypoly/worker-emulator start --basePath `pwd`" "start": "yarn workspace @roleypoly/worker-emulator start --basePath `pwd`"
}, },
"devDependencies": { "devDependencies": {

View file

@ -25,5 +25,5 @@
"isolatedModules": true "isolatedModules": true
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "**/*.stories.tsx", "src/backend-worker"] "exclude": ["node_modules", "**/*.stories.tsx", "packages/api"]
} }