issue 77 pt3 final lints
This commit is contained in:
parent
e7d0fae144
commit
5c6d8b4904
|
|
@ -63,10 +63,6 @@ jobs:
|
||||||
- name: ai-threat-detection-backend
|
- name: ai-threat-detection-backend
|
||||||
type: ruff
|
type: ruff
|
||||||
path: PROJECTS/advanced/ai-threat-detection/backend
|
path: PROJECTS/advanced/ai-threat-detection/backend
|
||||||
# Python (ruff) - Templates
|
|
||||||
- name: fullstack-template-backend
|
|
||||||
type: ruff
|
|
||||||
path: TEMPLATES/fullstack-template/backend
|
|
||||||
# Biome (frontend)
|
# Biome (frontend)
|
||||||
- name: bug-bounty-platform-frontend
|
- name: bug-bounty-platform-frontend
|
||||||
type: biome
|
type: biome
|
||||||
|
|
@ -83,9 +79,6 @@ jobs:
|
||||||
- name: encrypted-p2p-chat-frontend
|
- name: encrypted-p2p-chat-frontend
|
||||||
type: biome
|
type: biome
|
||||||
path: PROJECTS/advanced/encrypted-p2p-chat/frontend
|
path: PROJECTS/advanced/encrypted-p2p-chat/frontend
|
||||||
- name: fullstack-template-frontend
|
|
||||||
type: biome
|
|
||||||
path: TEMPLATES/fullstack-template/frontend
|
|
||||||
# Go
|
# Go
|
||||||
- name: simple-vulnerability-scanner
|
- name: simple-vulnerability-scanner
|
||||||
type: go
|
type: go
|
||||||
|
|
|
||||||
|
|
@ -84,13 +84,6 @@ repos:
|
||||||
files: ^PROJECTS/advanced/ai-threat-detection/backend/
|
files: ^PROJECTS/advanced/ai-threat-detection/backend/
|
||||||
exclude: (\.venv|__pycache__|\.pytest_cache)/
|
exclude: (\.venv|__pycache__|\.pytest_cache)/
|
||||||
|
|
||||||
# Templates
|
|
||||||
- id: ruff
|
|
||||||
name: ruff check (fullstack-template backend)
|
|
||||||
args: [--fix, --exit-non-zero-on-fix]
|
|
||||||
files: ^TEMPLATES/fullstack-template/backend/
|
|
||||||
exclude: (\.venv|__pycache__|\.pytest_cache)/
|
|
||||||
|
|
||||||
|
|
||||||
# Go golangci-lint Checks
|
# Go golangci-lint Checks
|
||||||
- repo: local
|
- repo: local
|
||||||
|
|
@ -149,13 +142,6 @@ repos:
|
||||||
files: ^PROJECTS/advanced/encrypted-p2p-chat/frontend/src/
|
files: ^PROJECTS/advanced/encrypted-p2p-chat/frontend/src/
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
|
|
||||||
- id: biome-fullstack-template
|
|
||||||
name: biome check (fullstack-template frontend)
|
|
||||||
entry: bash -c 'cd TEMPLATES/fullstack-template/frontend && npx @biomejs/biome check .'
|
|
||||||
language: system
|
|
||||||
files: ^TEMPLATES/fullstack-template/frontend/src/
|
|
||||||
pass_filenames: false
|
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v6.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue