GH-43875: [Go][CI] Remove Go related lint configurations (#44144)
### Rationale for this change
The Go implementation is moving to apache/arrow-go from go/ in apache/arrow.
### What changes are included in this PR?
Removing the linting configuration
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
* GitHub Issue: #43875
Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
diff --git a/.golangci.yaml b/.golangci.yaml
deleted file mode 100644
index 7d486a9..0000000
--- a/.golangci.yaml
+++ /dev/null
@@ -1,29 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-linters:
- # Disable all linters.
- # Default: false
- disable-all: true
- # Enable specific linter
- # https://golangci-lint.run/usage/linters/#enabled-by-default
- enable:
- - gofmt
- - goimports
-
-issues:
- fix: true
\ No newline at end of file
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9101796..bee2036 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -168,17 +168,3 @@
'--disable',
'dangling-hyphen,line-too-long',
]
- - repo: https://github.com/golangci/golangci-lint
- rev: v1.59.0
- hooks:
- # no built-in support for multiple go.mod
- # https://github.com/golangci/golangci-lint/issues/828
- - id: golangci-lint-full
- name: golangci-lint-full-arrow
- entry: bash -c 'cd go/arrow && golangci-lint run'
- - id: golangci-lint-full
- name: golangci-lint-full-parquet
- entry: bash -c 'cd go/parquet && golangci-lint run'
- - id: golangci-lint-full
- name: golangci-lint-full-internal
- entry: bash -c 'cd go/internal && golangci-lint run'