Adds missing linting scripts

pull/3347/head
zomars 2022-07-12 15:07:50 -06:00
parent 578c3d64ef
commit c5263efce2
6 changed files with 27 additions and 19 deletions

View File

@ -4,13 +4,14 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"build": "next build",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
"dev": "PORT=4000 next", "dev": "PORT=4000 next",
"lint": "next lint", "lint": "next lint",
"type-check": "tsc --pretty --noEmit", "lint:fix": "next lint . --ext .ts,.js,.tsx,.jsx --fix",
"lint:report": "eslint . --format json --output-file ../../lint-results/docs.json", "lint:report": "eslint . --format json --output-file ../../lint-results/docs.json",
"start": "PORT=4000 next start", "start": "PORT=4000 next start",
"build": "next build" "type-check": "tsc --pretty --noEmit"
}, },
"author": "Cal.com, Inc.", "author": "Cal.com, Inc.",
"license": "MIT", "license": "MIT",

View File

@ -3,8 +3,12 @@
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "PORT=4200 next dev",
"build": "next build", "build": "next build",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
"dev": "PORT=4200 next dev",
"lint": "next lint",
"lint:fix": "next lint . --ext .ts,.js,.tsx,.jsx --fix",
"lint:report": "eslint . --format json --output-file ../../lint-results/swagger.json",
"start": "PORT=4200 next start" "start": "PORT=4200 next start"
}, },
"dependencies": { "dependencies": {

View File

@ -1,24 +1,17 @@
{ {
"extends": "@calcom/tsconfig/nextjs.json",
"compilerOptions": { "compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"@lib/*": ["lib/*"] "@lib/*": ["lib/*"]
} }
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "include": [
"next-env.d.ts",
"../../packages/types/*.d.ts",
"../../packages/types/next-auth.d.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": ["node_modules"] "exclude": ["node_modules"]
} }

View File

@ -17,8 +17,8 @@
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint",
"lint:report": "eslint . --format json --output-file ../../lint-results/web.json",
"lint:fix": "next lint . --ext .ts,.js,.tsx,.jsx --fix", "lint:fix": "next lint . --ext .ts,.js,.tsx,.jsx --fix",
"lint:report": "eslint . --format json --output-file ../../lint-results/web.json",
"check-changed-files": "ts-node scripts/ts-check-changed-files.ts" "check-changed-files": "ts-node scripts/ts-check-changed-files.ts"
}, },
"engines": { "engines": {

View File

@ -5,6 +5,11 @@
"files": [ "files": [
"components.ts" "components.ts"
], ],
"scripts": {
"lint": "eslint . --ext .ts,.js,.tsx,.jsx",
"lint:fix": "eslint . --ext .ts,.js,.tsx,.jsx --fix",
"lint:report": "eslint . --format json --output-file ../../lint-results/app-store.json"
},
"dependencies": { "dependencies": {
"@calcom/lib": "*", "@calcom/lib": "*",
"@calcom/zoomvideo": "*", "@calcom/zoomvideo": "*",

View File

@ -4,6 +4,11 @@
"main": "./index.ts", "main": "./index.ts",
"types": "./index.ts", "types": "./index.ts",
"license": "MIT", "license": "MIT",
"scripts": {
"lint": "eslint . --ext .ts,.js,.tsx,.jsx",
"lint:fix": "eslint . --ext .ts,.js,.tsx,.jsx --fix",
"lint:report": "eslint . --format json --output-file ../../lint-results/app-store.json"
},
"dependencies": { "dependencies": {
"@calcom/dayjs": "*", "@calcom/dayjs": "*",
"@prisma/client": "^3.15.2", "@prisma/client": "^3.15.2",