You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete the plugin system implementation by integrating the plugin loader
into the CLI workflow. This connects the previously added components to create
a fully functional plugin system.
Changes:
- Updated the lint method to load plugins before running the linter
- Added informative message showing how many plugins were loaded
- Ensured proper error handling and propagation
With this change, the plugin system is now complete and operational.
Users can now extend the api-linter with custom rules by:
1. Creating plugins with the AddCustomRules function
2. Building them as shared libraries (.so files)
3. Specifying them with the --rule-plugin flag when running api-linter
This completes the 3-part implementation for issue googleapis#1485, providing
a way for organizations to extend the linter with custom rules without
forking the entire repository.
0 commit comments