Open Source @sap/di.code-validation.js and provide as eslint-plugin
I've noticed that SAP Web IDE uses a SAPUI5/Fiori-specific set of eslint-rules. Those eslint rules are placed in the npm module @sap/di.code-validation.js. As far as I understood it mainly consists of eslint-rules and a custom runner to validate against those rules (which is used in the default grunt-build of some template projects).
I think both the community of SAP developers and customers as well as SAP itself would benefit from having these eslint rules open sourced.
Furthermore it would be a great improvement to have those rules easily consumable as an eslint plugin.
Didn't know where else to address this. Please forward or let me know where to post this feedback.
Thanks and BR Chris
Forwarded internally for dicussion via #1970273725
And if you are interested, https://help.sap.com/viewer/825270ffffe74d9f988a0f0066ad59f0/CF/en-US/a3d3182aa1044cf3a0aa577158a977d6.html
Hello @cschuff , The reported issue is a feature request that should be addressed by Web IDE. Please create a feature request in the Web IDE Customer Influence page: https://influence.sap.com/sap/ino/#/campaign/909 Regards, Michal
@michawai , why do you say, it is a WebIDE topic? The feature request in OP was about having the sap-* linting rules available as an eslint plugin. No matter if executed in WebIDE or not. In particular, this should become a part of SAP UI5 Tooling, shouldn't it?
If you do not mind I opened a separate request for the UI5 tooling: https://github.com/SAP/ui5-tooling/issues/212
A possible solution I have mentioned here
@avizov , please handle.
currently, we are not planning to expose @sap/di.code-validation.js as an open-source. for further feature request, please use https://influence.sap.com/sap/ino/#/campaign/909 or contact the team product owner