File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ Please analyze and fix the GitHub issue: $ARGUMENTS.
2+
3+ Follow these steps:
4+
5+ 1 . Use ` gh issue view ` to get the issue details
6+ 2 . Understand the problem described in the issue
7+ 3 . Search the codebase for relevant files
8+ 4 . Implement the necessary changes to fix the issue
9+ 5 . Write and run tests to verify the fix
10+ 6 . Ensure code passes linting and type checking
11+ 7 . Create a descriptive commit message
12+
13+ Remember to use the GitHub CLI (` gh ` ) for all GitHub-related tasks.
Original file line number Diff line number Diff line change 1+ # CLAUDE.md
2+
3+ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+ ## Build and Test Commands
6+
7+ - Build project: ` ./gradlew build `
8+ - Run all tests: ` ./gradlew test `
9+ - Run a single test: ` ./gradlew test --tests "org.jmailen.gradle.kotlinter.functional.KotlinProjectTest.testName" `
10+ - Run integration tests projects (from test-project* directories): ` ../gradlew lintKotlin formatKotlin `
11+ - Lint Kotlin code: ` ./gradlew lintKotlin `
12+ - Format Kotlin code: ` ./gradlew formatKotlin `
13+ - Lint specific source set: ` ./gradlew lintKotlinMain `
14+ - Format specific source set: ` ./gradlew formatKotlinMain `
15+
16+ ## Code Style Guidelines
17+
18+ - Kotlin code follows ktlint rules with editorconfig customizations
19+ - Max line length: 140 characters
20+ - Indentation: 4 spaces
21+ - New line at EOF required
22+ - Trailing commas allowed in declarations and function calls
23+ - Imports follow ktlint standard ordering
24+ - Use kotlinter extension for configuration in Gradle projects
25+ - Tests use JUnit 5 (Jupiter) assertions
26+ - Functional tests extend ` WithGradleTest ` for Gradle TestKit integration
27+ - Error handling uses custom ` KotlinterError ` and ` LintFailure ` classes
28+ - When adding features, ensure backward compatibility as this is a Gradle plugin
You can’t perform that action at this time.
0 commit comments