Skip to content

Commit

Permalink
Disable false-positive lint error Incorrect number of expressions (#2…
Browse files Browse the repository at this point in the history
…825)
  • Loading branch information
kiryldz authored Oct 29, 2024
1 parent e85ad7d commit a9f4709
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Mapbox welcomes participation and contributions from everyone.

# main
# 11.8.0
## Bug fixes 🐞
* Disable false-positive lint error "Incorrect number of expressions".

# 11.8.0-rc.1 October 23, 2024
## Bug fixes 🐞
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ package com.mapbox.maps.lint.style

import com.android.tools.lint.client.api.IssueRegistry
import com.android.tools.lint.client.api.Vendor
import com.mapbox.maps.lint.style.expressions.IllegalNumberOfArgumentsDetector
import com.mapbox.maps.lint.style.expressions.UnusedLiteralDetector

class StyleIssueRegistry : IssueRegistry() {

override val issues = listOf(
// Expression issues
UnusedLiteralDetector.ISSUE,
IllegalNumberOfArgumentsDetector.ISSUE,
// TODO revisit this later; perhaps when we bump to AGP 8 and / or bump some related deps
// IllegalNumberOfArgumentsDetector.ISSUE,
// Style DSL issues
UnusedStyleDslDetector.ISSUE,
)
Expand Down

0 comments on commit a9f4709

Please sign in to comment.