openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Open Source @sap/di.code-validation.js and provide as eslint-plugin

Open cschuff opened this issue 7 years ago • 7 comments

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

cschuff avatar Apr 10 '19 17:04 cschuff

Forwarded internally for dicussion via #1970273725

And if you are interested, https://help.sap.com/viewer/825270ffffe74d9f988a0f0066ad59f0/CF/en-US/a3d3182aa1044cf3a0aa577158a977d6.html

stephania87 avatar Jun 21 '19 16:06 stephania87

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 avatar Jun 24 '19 07:06 michawai

@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?

rasmk avatar Feb 13 '20 16:02 rasmk

If you do not mind I opened a separate request for the UI5 tooling: https://github.com/SAP/ui5-tooling/issues/212

HoffmannThomas avatar Mar 10 '20 10:03 HoffmannThomas

A possible solution I have mentioned here

nils-kasseckert avatar Mar 10 '20 13:03 nils-kasseckert

@avizov , please handle.

michawai avatar Mar 10 '20 13:03 michawai

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

avizov avatar Mar 11 '20 21:03 avizov