mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-02 10:39:13 +00:00
Added config for biome.js
This commit is contained in:
parent
da7a9bff11
commit
6875ded8f3
1 changed files with 0 additions and 23 deletions
|
@ -60,29 +60,6 @@ repos:
|
||||||
args: ['-f', 'json', '--severity-level', 'high', '--confidence-level', 'high']
|
args: ['-f', 'json', '--severity-level', 'high', '--confidence-level', 'high']
|
||||||
exclude: ^surfsense_backend/(tests/|test_.*\.py|.*test.*\.py|alembic/)
|
exclude: ^surfsense_backend/(tests/|test_.*\.py|.*test.*\.py|alembic/)
|
||||||
|
|
||||||
# Frontend/Extension Hooks (TypeScript/JavaScript)
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
||||||
rev: v4.0.0-alpha.8
|
|
||||||
hooks:
|
|
||||||
- id: prettier
|
|
||||||
files: ^(surfsense_web|surfsense_browser_extension)/
|
|
||||||
types_or: [javascript, jsx, ts, tsx, json, yaml, markdown]
|
|
||||||
exclude: '(package-lock\.json|\.next/|build/|dist/)'
|
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
|
||||||
rev: v9.31.0
|
|
||||||
hooks:
|
|
||||||
- id: eslint
|
|
||||||
files: ^surfsense_web/
|
|
||||||
types: [file]
|
|
||||||
types_or: [javascript, jsx, ts, tsx]
|
|
||||||
additional_dependencies:
|
|
||||||
- 'eslint@^9'
|
|
||||||
- 'eslint-config-next@15.2.0'
|
|
||||||
- '@eslint/eslintrc@^3'
|
|
||||||
args: [--fix]
|
|
||||||
exclude: '(\.next/|build/|dist/)'
|
|
||||||
|
|
||||||
# TypeScript compilation check
|
# TypeScript compilation check
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Add table
Reference in a new issue