Skip to content

Commit

Permalink
chore: allow some deps name typos
Browse files Browse the repository at this point in the history
Signed-off-by: iGxnon <igxnon@gmail.com>
  • Loading branch information
iGxnon committed Jan 31, 2024
1 parent 6d3bfd7 commit da2ecfd
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.*
!.github
!.gitignore
!.pre-commit-config.yaml
!gradle/wrapper/gradle-wrapper.jar
target/
target-ide/
Expand Down
36 changes: 36 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: no-commit-to-branch
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://github.com/crate-ci/typos
rev: v1.16.0
hooks:
- id: typos

- repo: local
hooks:
- id: conventional-commit-msg-validation
name: commit message conventional validation
language: pygrep
entry: '^(breaking|build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w `])+([\s\S]*)'
args: [ --multiline, --negate ]
stages: [ commit-msg ]

- id: commit-msg-needs-to-be-signed-off
name: commit message needs to be signed off
language: pygrep
entry: "^Signed-off-by:"
args: [ --multiline, --negate ]
stages: [ commit-msg ]
2 changes: 2 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[default.extend-words]
vertx = "vertx"
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ subprojects {
theme = ThemeType.MOCHA_PARALLEL
showStandardStreams = false
}
}
}
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ grpc = ["grpcCore", "grpcNetty", "grpcProtobuf", "grpcStub", "grpcGrpclb", "grpc
log4j = ["log4jApi", "log4jCore", "log4jSlf4j", "log4j12"]
javax = ["javaxAnnotation"]
testing = ["junit", "assertj"]

2 changes: 1 addition & 1 deletion jxline-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dependencies {
testImplementation(libs.bundles.testing)
}
}
2 changes: 1 addition & 1 deletion jxline-proto/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ sourceSets {
srcDir("src/proto/xline-proto/src")
}
}
}
}

0 comments on commit da2ecfd

Please sign in to comment.