mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
ktlint integration
This commit is contained in:
parent
20472f19e9
commit
aa34153a0e
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -58,8 +58,8 @@ jobs:
|
||||
restore-keys: ${{ runner.os }}-gradle-
|
||||
|
||||
# Run detekt
|
||||
- name: Run Linter
|
||||
run: ./gradlew detekt
|
||||
- name: Run Linters
|
||||
run: ./gradlew check
|
||||
|
||||
# Run verifyPlugin Gradle task
|
||||
- name: Verify Plugin
|
||||
|
@ -5,6 +5,7 @@
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- JetBrains Plugin badges and TODO list for the end users
|
||||
- `ktlint` integration
|
||||
|
||||
### Changed
|
||||
- `pluginUntilBuild` set to the correct format: `201.*`
|
||||
|
@ -14,6 +14,8 @@ plugins {
|
||||
id("org.jetbrains.changelog") version "0.3.2"
|
||||
// detekt linter - read more: https://detekt.github.io/detekt/kotlindsl.html
|
||||
id("io.gitlab.arturbosch.detekt") version "1.10.0"
|
||||
// ktlint linter - read more: https://github.com/JLLeitschuh/ktlint-gradle
|
||||
id("org.jlleitschuh.gradle.ktlint") version "9.2.1"
|
||||
}
|
||||
|
||||
// Import variables from gradle.properties file
|
||||
|
Loading…
Reference in New Issue
Block a user