diff --git a/.golangci.yaml b/.golangci.yaml deleted file mode 100644 index 7d486a9e85a0a..0000000000000 --- 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 91017969eb502..bee20369c017e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -168,17 +168,3 @@ repos: '--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'