mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 11:26:43 +08:00
Revert "remove pre-commit check for frontend"
This reverts commit 4989d6ed5cb96eade127c7d8a516274f41c7b9d8.
This commit is contained in:
parent
54a824644a
commit
0fa74de9d3
@ -22,4 +22,25 @@ repos:
|
||||
types_or: [markdown, ts, tsx]
|
||||
exclude: 'admin-frontend/'
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: v8.20.0
|
||||
hooks:
|
||||
- id: eslint
|
||||
additional_dependencies:
|
||||
- "eslint@8.2.0"
|
||||
- "@typescript-eslint/eslint-plugin"
|
||||
- "@typescript-eslint/parser"
|
||||
- "eslint-config-airbnb"
|
||||
- "eslint-config-airbnb-typescript"
|
||||
- "eslint-import-resolver-typescript"
|
||||
- "eslint-plugin-import"
|
||||
- "eslint-plugin-jsx-a11y"
|
||||
- "eslint-plugin-react"
|
||||
- "eslint-plugin-react-hooks"
|
||||
- "eslint-plugin-react-redux"
|
||||
types_or: [ts, tsx]
|
||||
types: []
|
||||
files: ^admin-frontend/
|
||||
args: [--fix, -c, './admin-frontend/.eslintrc.json']
|
||||
|
||||
exclude: 'CHANGELOG.md'
|
||||
|
Loading…
x
Reference in New Issue
Block a user