Skip to content

Commit

Permalink
chore: remove lint warnings and register git-hooks (#29)
Browse files Browse the repository at this point in the history
* chore: lint

* chore: set git-hooks in the prepare script
  • Loading branch information
LoTwT authored Nov 12, 2024
1 parent 9e47974 commit c51d2f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"root": true,
"ignorePatterns": ["lib", "coverage", "docs/.vitepress/cache", "docs/.vitepress/dist"],
"extends": ["@varlet"],
"extends": ["@varlet"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"url": "https://github.com/varletjs/rattail/issues"
},
"scripts": {
"git-hooks": "simple-git-hooks",
"prepare": "simple-git-hooks",
"dev": "tsup src/index.ts --format esm --out-dir=lib --watch --dts",
"build": "tsup src/index.ts --format esm,cjs --out-dir=lib --dts --clean",
"lint": "eslint . --fix --ext .ts,.js",
Expand Down
2 changes: 1 addition & 1 deletion tests/general.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { it, expect, vi } from 'vitest'
import { it, expect } from 'vitest'
import {
isNonEmptyArray,
isString,
Expand Down

0 comments on commit c51d2f5

Please sign in to comment.