question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
stephania87commented, Jun 21, 2019
0reactions
avizovcommented, Mar 11, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found