You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "alex-bain (via GitHub)" <gi...@apache.org> on 2023/03/28 16:21:17 UTC
[GitHub] [superset] alex-bain opened a new pull request, #23513: fix(plugin-generator): Addresses linter errors in newly generated Superset plugin
alex-bain opened a new pull request, #23513:
URL: https://github.com/apache/superset/pull/23513
### SUMMARY
When creating a new Superset plugin using the plugin generator, the generated code contains linter errors that prevent Superset from building properly. This PR updates the generator `erb` templates so that they do not contain linter errors.
Note: Plugins with very long names may still generate linter errors, due to excessive line length
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
#### Before:

#### After:
(Build completes without errors)
### TESTING INSTRUCTIONS
* Create a new plugin using the Superset plugin generator in the `superset-frontend/plugins/` directory
* Run `npm run build` from the `superset-frontend` directory
* Confirm that build completes without linter errors (pre-existing warnings have not been addressed)
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] nytai merged pull request #23513: fix(plugin-generator): Addresses linter errors in newly generated Superset plugin
Posted by "nytai (via GitHub)" <gi...@apache.org>.
nytai merged PR #23513:
URL: https://github.com/apache/superset/pull/23513
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org