mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-21 22:22:58 -06:00
legacy packages: Exempt from complexity linters
These packages are frozen copies of old code from much older versions of the product that are preserved to keep the state storage backends working until we decide on a way to get them out of this codebase entirely. Therefore the only potential future change to this code is to delete it once it's no longer needed. It would not be worth the risk or time investment to rework these to meet our strict complexity linting rules. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
This commit is contained in:
parent
9d9c1486fa
commit
1551f1d6cf
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop,funlen,gocognit // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package schema
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop,funlen,nestif // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package schema
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop,gocyclo,gocognit,nestif // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package schema
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package schema
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop,funlen,nestif // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package schema
|
||||
|
||||
import (
|
||||
|
@ -14,6 +14,8 @@
|
||||
// everything else is meant to just work.
|
||||
//
|
||||
// A good starting point is to view the Provider structure.
|
||||
//
|
||||
//nolint:cyclop,funlen,gocognit,gocyclo,nestif // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package schema
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:funlen // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package schema
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop,gocognit // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package schema
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop,funlen,gocognit,gocyclo,nestif // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package tofu
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:nestif // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package tofu
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:nestif // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package tofu
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop,funlen // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package tofu
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:gocognit,nestif // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package tofu
|
||||
|
||||
import (
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Copyright (c) 2023 HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//nolint:cyclop,gocyclo // This legacy code is frozen from an older version of the codebase and will not be updated to pass any linters.
|
||||
package tofu
|
||||
|
||||
import (
|
||||
|
Loading…
Reference in New Issue
Block a user