Skip to content

Commit

Permalink
chore: remove eslint, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Feb 12, 2024
1 parent 6625b82 commit 92c2e08
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 1,318 deletions.
Binary file added .DS_Store
Binary file not shown.
32 changes: 0 additions & 32 deletions .eslintrc.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ jobs:
cache-dependency-path: "**/pnpm-lock.yaml"
- name: install
run: pnpm install --frozen-lockfile --prefer-offline
- name: format
run: pnpm format
- name: lint
run: pnpm run lint
- name: typecheck
run: pnpm run typecheck
- name: audit
Expand Down
36 changes: 0 additions & 36 deletions .prettierrc.json

This file was deleted.

5 changes: 1 addition & 4 deletions discord-webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,7 @@ async function fetchJobs() {
headers: {
Accept: 'application/vnd.github.v3+json',
...(process.env.GITHUB_TOKEN
? {
Authorization: `token ${process.env.GITHUB_TOKEN}`,
// eslint-disable-next-line no-mixed-spaces-and-tabs
}
? { Authorization: `token ${process.env.GITHUB_TOKEN}` }
: undefined),
},
})
Expand Down
24 changes: 0 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,10 @@
"version": "0.0.1",
"description": "Volar Ecosystem CI",
"scripts": {
"prepare": "pnpm exec simple-git-hooks",
"lint": "eslint --ignore-path .gitignore '**/*.ts'",
"lint:fix": "pnpm lint --fix",
"typecheck": "tsc",
"format": "prettier --ignore-path .gitignore --check .",
"format:fix": "pnpm format --write",
"test:self": "tsx ecosystem-ci.ts _selftest",
"test": "tsx ecosystem-ci.ts"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false"
},
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
],
"*.ts": [
"eslint --fix"
]
},
"packageManager": "pnpm@8.15.1",
"type": "module",
"engines": {
Expand All @@ -49,15 +33,7 @@
"@antfu/ni": "^0.21.12",
"@types/node": "^20.11.17",
"@types/semver": "^7.5.7",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-n": "^16.6.2",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"semver": "^7.6.0",
"simple-git-hooks": "^2.9.0",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
}
Expand Down
Loading

0 comments on commit 92c2e08

Please sign in to comment.