From fd5088fa16693e6bde3597b037704cc6824007f7 Mon Sep 17 00:00:00 2001 From: Zac Sweers Date: Sat, 9 Mar 2024 07:47:29 -0500 Subject: [PATCH] Update lint config (#300) * Update lint config Adds a new lint against UAST impls + regenerate baseline * Newline --- compose-lint-checks/build.gradle.kts | 4 +- compose-lint-checks/lint-baseline.xml | 125 ++++++++++++++++++++++++++ 2 files changed, 127 insertions(+), 2 deletions(-) create mode 100644 compose-lint-checks/lint-baseline.xml diff --git a/compose-lint-checks/build.gradle.kts b/compose-lint-checks/build.gradle.kts index ea9dfcc2..fec144da 100644 --- a/compose-lint-checks/build.gradle.kts +++ b/compose-lint-checks/build.gradle.kts @@ -18,8 +18,8 @@ lint { absolutePaths = false checkTestSources = true baseline = file("lint-baseline.xml") - - fatal += setOf("LintDocExample", "LintImplPsiEquals") + disable += setOf("GradleDependency") + fatal += setOf("LintDocExample", "LintImplPsiEquals", "UastImplementation") } dependencies { diff --git a/compose-lint-checks/lint-baseline.xml b/compose-lint-checks/lint-baseline.xml new file mode 100644 index 00000000..e39d014f --- /dev/null +++ b/compose-lint-checks/lint-baseline.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +