diff --git a/.github/config/.release-please-manifest.json b/.github/config/.release-please-manifest.json new file mode 100644 index 0000000..f2ecd08 --- /dev/null +++ b/.github/config/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.1.0" +} diff --git a/.github/config/release-please-config.json b/.github/config/release-please-config.json new file mode 100644 index 0000000..3d61676 --- /dev/null +++ b/.github/config/release-please-config.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "simple", + "packages": { + ".": { + "changelog-path": "CHANGELOG.md" + } + } +} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..5eee835 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,19 @@ +name: Release Please + +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 + with: + config-file: .github/config/release-please-config.json + manifest-file: .github/config/.release-please-manifest.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/.idea/icon.svg b/.idea/icon.svg new file mode 100644 index 0000000..5d82163 --- /dev/null +++ b/.idea/icon.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3101bf1..825c32f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1 @@ # Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [Unreleased] - -## [0.1.0] - 2026-02-14 - -### Added - -- Initial release of flint lint task scripts -- Super-Linter integration with Docker/Podman auto-detection -- Lychee link checking (all files, local files, modified files) -- Renovate tracked-deps verification and generation -- Unified AUTOFIX environment variable pattern across all linters - -[Unreleased]: https://github.com/grafana/flint/compare/v0.1.0...HEAD -[0.1.0]: https://github.com/grafana/flint/releases/tag/v0.1.0 diff --git a/CLAUDE.md b/CLAUDE.md index 41fe7a8..ebed9b4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -53,6 +53,8 @@ Since these are remote task scripts consumed by other repos: ## Linting +**Always run `mise run fix` before committing changes.** This ensures all files pass CI linting (Biome formatting, shellcheck, etc.). Review the auto-fixed files before committing — auto-fixes may produce unexpected results. + ```bash # Auto-fix and verify (recommended dev workflow) mise run fix @@ -61,9 +63,6 @@ mise run fix mise run lint ``` -After running `fix`, always review the changed files before committing — -auto-fixes may produce unexpected results. - ## Adding New Linters When adding new lint scripts, follow these patterns: diff --git a/README.md b/README.md index f5c1bff..11a8d26 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ description = "Lint links in local files" file = "https://raw.githubusercontent.com/grafana/flint/v0.1.0/tasks/lint/local-links.sh" [tasks."lint:links-in-modified-files"] description = "Lint links in modified files" -hide = true file = "https://raw.githubusercontent.com/grafana/flint/v0.1.0/tasks/lint/links-in-modified-files.sh" [tasks."lint:renovate-deps"] description = "Verify renovate-tracked-deps.json is up to date"