This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new e02c18d82f [CI] Use common linters directory for `.shellcheckrc`
config (#2629)
e02c18d82f is described below
commit e02c18d82fed503b13bd48c15d52889fb0cda9df
Author: John Bampton <[email protected]>
AuthorDate: Tue Feb 24 17:37:32 2026 +1000
[CI] Use common linters directory for `.shellcheckrc` config (#2629)
---
.github/CODEOWNERS | 1 -
.shellcheckrc => .github/linters/.shellcheckrc | 0
.pre-commit-config.yaml | 3 ++-
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 2f477398a9..cb44d95a36 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -20,6 +20,5 @@
.pre-commit-config.yaml @jbampton @jiayuasu
.prettierignore @jbampton @jiayuasu
.prettierrc @jbampton @jiayuasu
-.shellcheckrc @jbampton @jiayuasu
Makefile @jbampton @jiayuasu
/.github/linters/ @jbampton @jiayuasu
diff --git a/.shellcheckrc b/.github/linters/.shellcheckrc
similarity index 100%
rename from .shellcheckrc
rename to .github/linters/.shellcheckrc
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 51d69a6e04..79220fe987 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -250,8 +250,8 @@ repos:
\.gitattributes|
\.prettierignore|
\.prettierrc|
- \.shellcheckrc|
\.github/linters/\.clang-format|
+ \.github/linters/\.shellcheckrc|
\.github/CODEOWNERS|
.*/\.gitignore|
tools/maven/scalafmt\.conf
@@ -473,6 +473,7 @@ repos:
- id: shellcheck
name: run shellcheck
description: check Shell scripts with shellcheck
+ args: [--rcfile=.github/linters/.shellcheckrc]
- repo: https://github.com/adrienverge/yamllint
rev: v1.38.0
hooks: