Skip to Content
0

SAP Web IDE - JavaScript Rules

Jan 25 at 02:11 PM

86

avatar image
Former Member

I tried to set JavaScript Rules for all users, but even though I import my ES Lint files new projects wont use my rules.

Does anyone have any idea how it works? I'll attach my .eslintrc and .eslintrc.ext file.

eslintrcext.txt

eslintrc.txt

Many thanks in advance!

eslintrcext.txt (24.2 kB)
eslintrc.txt (8.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Yuval Morad
Jan 26 at 01:37 PM
1

Hi,

If try to add "custom" rules to your project than the folder of the rules should be selected in the UI above under "Custom Rules Folder".
Also the actual rules code should reside in the folder.

This option will provide all users in the project to use the same rules.

In case you would like to share rules across projects in the account, you would need to upload the rules on account level.
This option supports only standard eslint riles and not own custom rules

Regards

Yuval

Share
10 |10000 characters needed characters left characters exceeded
Richard Zhao
Jan 26 at 05:46 AM
-1

Hello, Florian. As I know your custom rules appear in the Rules table instead of the default rules. All the rules are disabled by default. Have you enabled custom code checking rules in the Rules table? Could you double check please?


1516945261251.jpg (266.1 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hello Richard,

thanks for your reply.

I am not trying to add costum rules to the table but I am trying to set some standard rules for each user, so they do not have to check them themself for each project.

0
Michal Keidar
Jan 26 at 09:07 AM
0

Yuval Morad - Can you please assist? 10x

Share
10 |10000 characters needed characters left characters exceeded