Open Source @sap/di.code-validation.js and provide as eslint-plugin
See original GitHub issueI’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
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to stay with SAP eslint checks in local development ...
Open in app ... Using SAP Web IDE I always switch to Fiori JavaScript validator which includes ... npm install -g @sap/di.code-validation.js.
Read more >How to write custom ESLint rules - Mews Developers
Let's look into how to write custom ESLint rules. Creating these isn't hard once you have the framework in place.
Read more >eslint-plugin-disable - npm Package Health Analysis - Snyk
Minimize your risk by selecting secure & well maintained open source packages. DONE ; Easily fix your code by leveraging automatically generated PRs....
Read more >Open Source JavaScript Code Analysis Tools
There are however tools that allow checking code before or during its execution to assess its quality and its adherence to coding standards ......
Read more >Working with Plugins - ESLint - Pluggable JavaScript Linter
So if this plugin were named eslint-plugin-myplugin , then in your configuration you'd refer to the rule by the name myplugin/dollar-sign . Example:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Forwarded internally for dicussion via #1970273725
And if you are interested, https://help.sap.com/viewer/825270ffffe74d9f988a0f0066ad59f0/CF/en-US/a3d3182aa1044cf3a0aa577158a977d6.html
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