Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BTW, here is for the reference all disabled rules in our project. Maybe there is something else worth to be enabled in addition to core::0123::resource-annotation if this will make api-linter works better for some internal reasons. #1466

Open
Gabriel681 opened this issue Dec 29, 2024 · 0 comments

Comments

@Gabriel681
Copy link

          BTW, here is for the reference all disabled rules in our project. Maybe there is something else worth to be enabled in addition to `core::0123::resource-annotation` if this will make `api-linter` works better for some internal reasons.
  disabled_rules:
    - 'core::0123::resource-annotation'     # We are not Google, so we don't use it.
    - 'core::0127::http-annotation'         # We do not provide OpenAPI for most of our services.
    - 'core::0131::request-name-reference'  # We are not Google, so we don't use it.
    - 'core::0131::method-signature'        # Not useful in Go code.
    - 'core::0132::request-parent-required' # We mostly use top-level resources.
    - 'core::0133::method-signature'        # Not useful in Go code.
    - 'core::0133::http-uri-parent'         # We mostly use top-level resources.
    - 'core::0133::request-parent-required' # We mostly use top-level resources.
    - 'core::0134::method-signature'        # Not useful in Go code.
    - 'core::0135::request-name-reference'  # We are not Google, so we don't use it.
    - 'core::0135::method-signature'        # Not useful in Go code.
    - 'core::0140::uri'                     # We prefer to name field with URLs as url, not uri.
    - 'core::0191::java-outer-classname'    # We don't use Java.
    - 'core::0191::java-multiple-files'     # We don't use Java.
    - 'core::0191::java-package'            # We don't use Java.
    - 'core::0191::proto-package'           # https://github.com/googleapis/api-linter/issues/952
    - 'core::0215::versioned-packages'      # Allow omitted version for v1.
    - 'core::0233::request-parent-field'    # We mostly use top-level resources.

Originally posted by @powerman in #1176 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant