anaconda / anaconda-linter

BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Suggestion: metadata modifiers #125

Open bkreider opened 2 years ago

bkreider commented 2 years ago

I suggest moving all of the linter directives under a top-level directive to avoid collisions with other people's usage of the extra section.

For example:

extras:
  - anaconda-linter:
      skip-lints:
        - ...
      only-lint:
        - ...

This would carve out a namespace, since "extras" is an unmanaged free for all that prevents future collisions with how other community members might do linting.

schuylermartin45 commented 12 months ago

Tracking: https://anaconda.atlassian.net/browse/PAT-187