mirror of
https://github.com/tauri-apps/tauri-github-bot.git
synced 2026-01-31 00:35:20 +01:00
build: remove eslintrc and husky
This commit is contained in:
17
.eslintrc
17
.eslintrc
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"env": {
|
||||
"es2020": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"prettier"
|
||||
],
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 12,
|
||||
"sourceType": "module"
|
||||
}
|
||||
}
|
||||
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
@@ -26,7 +26,6 @@ jobs:
|
||||
- run: pnpm i
|
||||
- run: pnpm build
|
||||
- run: pnpm type-check
|
||||
- run: pnpm lint
|
||||
- run: pnpm format
|
||||
- name: Sync to glitch
|
||||
run: |
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
pnpm lint
|
||||
pnpm type-check
|
||||
pnpm format
|
||||
@@ -12,11 +12,9 @@
|
||||
"tauri-apps"
|
||||
],
|
||||
"scripts": {
|
||||
"prepare": "husky install",
|
||||
"build": "tsup",
|
||||
"build": "tsup src/index.ts --clean",
|
||||
"start": "probot run ./dist/index.js",
|
||||
"type-check": "tsc --noEmit",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"format": "prettier --write --end-of-line=auto \"./**/*.{js,ts,json}\" --ignore-path .gitignore"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -24,11 +22,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@octokit/rest": "18.12.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.2.0",
|
||||
"@typescript-eslint/parser": "5.2.0",
|
||||
"eslint": "8.1.0",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"husky": "7.0.4",
|
||||
"prettier": "2.4.1",
|
||||
"tsup": "5.5.0",
|
||||
"typescript": "4.4.4"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2020",
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
import { Options } from 'tsup'
|
||||
|
||||
const config: Options = {
|
||||
entryPoints: ['src/index.ts'],
|
||||
outDir: 'dist',
|
||||
format: ['cjs'],
|
||||
clean: true,
|
||||
}
|
||||
|
||||
export default config
|
||||
Reference in New Issue
Block a user