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

Implements linter and configuration for running custom user-defined linting rules #25

Merged
merged 9 commits into from
Jul 16, 2021

Commits on Jul 15, 2021

  1. Implements config structure for custom rule definitions, adds api met…

    …hod to make api.Rule definition from config.CustomRule
    bvobart committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    bdbfb6d View commit details
    Browse the repository at this point in the history
  2. Implements a linter with tests to run custom rules, expecting a JSON …

    …/ YAML formatted response as output from the rule's `run` command
    bvobart committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    e4ebce6 View commit details
    Browse the repository at this point in the history
  3. Implements option in linter test framework to run the tests with an m…

    …llint.Runner, implements custom linter running its custom rules on the runner
    bvobart committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    9e37ff5 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Configuration menu
    Copy the full SHA
    12f7ee8 View commit details
    Browse the repository at this point in the history
  2. Makes it possible to use mllint describe with custom rules from the…

    … configuration in the current directory
    bvobart committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    f839d21 View commit details
    Browse the repository at this point in the history
  3. Adds a description for the custom category, outlining how to create…

    … custom linting rules
    bvobart committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    117ca38 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2648009 View commit details
    Browse the repository at this point in the history
  5. Makes custom rules show up in mllint list all and allows custom rul…

    …es to be disabled with through the config as though they are normal rules.
    bvobart committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    100be2f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    093df9e View commit details
    Browse the repository at this point in the history