mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: update commit hooks
This commit is contained in:
parent
b8c1da5ecc
commit
869a2425a2
4 changed files with 4 additions and 2 deletions
1
packages/core/.eslintignore
Normal file
1
packages/core/.eslintignore
Normal file
|
@ -0,0 +1 @@
|
|||
*.config.js
|
1
packages/core/.gitignore
vendored
1
packages/core/.gitignore
vendored
|
@ -21,5 +21,6 @@ yarn-error.log*
|
|||
|
||||
# misc
|
||||
cache
|
||||
.*cache
|
||||
.DS_Store
|
||||
*.env
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module.exports = {
|
||||
'*.ts?(x)': ['yarn lint --fix', () => 'tsc -p tsconfig.json --noEmit'],
|
||||
'*.ts?(x)': ['eslint --format pretty --cache --fix', () => 'tsc -p tsconfig.json --noEmit'],
|
||||
};
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"lint": "eslint --format pretty \"src/**\"",
|
||||
"lint": "eslint --format pretty --ext .ts src",
|
||||
"dev": "tsc-watch --onSuccess \"node ./build/index.js\"",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue