Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Update linting scripts in package.json #832

Merged
merged 1 commit into from
Jul 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@
"build": "pnpm build:vite && pnpm build:manifest",
"build:manifest": "tsx ./scripts/make_manifest.ts",
"build:vite": "vite build",
"deploy": "tsx scripts/github_release.ts",
"deploy": "tsx ./scripts/github_release.ts",
"dev": "vite",
"fix": "eslint --fix --ext .ts apps scripts test *.ts",
"format": "pnpm format:prettier && pnpm format:sort-package-json",
"format:check": "pnpm format:check:prettier && pnpm format:check:sort-package-json",
"format:check:prettier": "prettier --check .",
"format:check:sort-package-json": "sort-package-json --check",
"format:prettier": "prettier --write .",
"format:sort-package-json": "sort-package-json",
"lint:ci": "pnpm format:check && pnpm lint:eslint:ci && pnpm lint:dep",
"lint:ci": "pnpm format:check && pnpm lint:tsc && pnpm lint:eslint:ci && pnpm lint:dep",
"lint:dep": "depcruise .",
"lint:eslint": "eslint --ext .ts apps scripts test *.ts",
"lint:eslint:ci": "eslint --format junit --output-file ./reports/eslint/eslint.xml --ext .ts apps scripts test *.ts",
"lint:eslint:fix": "eslint --fix --ext .ts apps scripts test *.ts",
"lint:tsc": "tsc --noEmit",
"test": "vitest",
"test:ci": "vitest run"
},
Expand Down