Skip to content

Commit

Permalink
Remove nolint from BUCK/bzl files
Browse files Browse the repository at this point in the history
Summary:
`nolint` turns all off linters - no matter where the `nolint` is in a
file. DO NOT USE THIS! Instead use the appropriate suppression at the
appropriate line.

Reviewed By: dtolnay

Differential Revision: D67763553

fbshipit-source-id: d80ce58e16e5c7a2722f75734ebb2b289fdb3519
  • Loading branch information
zertosh authored and facebook-github-bot committed Jan 2, 2025
1 parent b302c5f commit 3eef424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/third-party/macros/rust_third_party.bzl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# @nolint

def third_party_rust_cxx_library(name, **kwargs):
# @lint-ignore BUCKLINT
native.cxx_library(name = name, **kwargs)

def third_party_rust_prebuilt_cxx_library(name, **kwargs):
# @lint-ignore BUCKLINT
native.prebuilt_cxx_library(name = name, **kwargs)

0 comments on commit 3eef424

Please sign in to comment.