dev-util/tflint-ruleset-elements-of-style - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-util/tflint-ruleset-elements-of-style-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/tflint-ruleset-elements-of-style-9999

Or alternatively:

emerge --autounmask-write -a =dev-util/tflint-ruleset-elements-of-style-9999

Package Information

Description:
TFLint Ruleset: Elements of Style
Homepage:
https://github.com/tfctl/tflint-ruleset-elements-of-style
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 go-module readme.gentoo-r1

DESCRIPTION="TFLint Ruleset: Elements of Style"
HOMEPAGE="https://github.com/tfctl/tflint-ruleset-elements-of-style"
EGIT_REPO_URI="https://github.com/tfctl/${PN}.git"

LICENSE="BSD"
SLOT="0"

BDEPEND=">=dev-lang/go-1.25.3:="

DOC_CONTENTS="You should create a symlink to tflint-ruleset-elements-of-style\\n
in ~/.tflint.d/plugins or define another path to plugins\\n"

src_unpack() {
	git-r3_src_unpack
	go-module_live_vendor
}

src_compile() {
	ego build
}

src_test() {
	ego test ./...
}

src_install() {
	einstalldocs
	exeinto usr/share/tflint-ruleset/github.com/tfctl/"${PN}"/"${PV}"
	doexe tflint-ruleset-elements-of-style
	readme.gentoo_create_doc
}

pkg_postinst() {
	readme.gentoo_print_elog
}

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.25.3:=