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

Let's make plugin possibilities more functional #11

Open
mihaylovich opened this issue Apr 26, 2022 · 0 comments · Fixed by #17
Open

Let's make plugin possibilities more functional #11

mihaylovich opened this issue Apr 26, 2022 · 0 comments · Fixed by #17

Comments

@mihaylovich
Copy link

Let's give to plugins to export custom rules and not only build your own infrastructure to check files.
For this:

  1. Extract interface ISqlRule to TSQLLint.Common
  2. Add method to IPlugin with default implementation
    IDictionary<string, Type> GetRules(){
    return new Dictionary<string, Type>();
    }
  3. Read and use rules from plugins
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

Successfully merging a pull request may close this issue.

1 participant