Skip to content

Commit

Permalink
Add pre-commit, add discord redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrxyz committed Aug 28, 2024
1 parent 40cbfd2 commit cfbd8fe
Show file tree
Hide file tree
Showing 4 changed files with 782 additions and 472 deletions.
28 changes: 28 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
ci:
autofix_prs: false
autoupdate_commit_msg: "Update pre-commit hooks to latest versions"
autoupdate_schedule: monthly

repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
exclude_types: [markdown, rst]
- id: check-symlinks
- id: check-json
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- id: no-commit-to-branch
args:
- --branch=master
- --branch=robotx_2022
1 change: 1 addition & 0 deletions discord/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RedirectMatch 301 ^ https://discord.com/invite/Pw3NmhCF6U
Loading

0 comments on commit cfbd8fe

Please sign in to comment.