Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0042104 | Openbravo ERP | A. Platform | public | 2019-10-23 10:24 | 2022-02-01 08:07 |
|
Reporter | jarmendariz | |
Assigned To | Triage Platform Base | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | new | Resolution | open | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0042104: Add ESLint rules to restrict potentially dangeous js syntax |
Description | Issue 0042075 introduces supports to ES9 syntax in Openbravo. However, this standard is partially implemented in our supported browsers. Linter should warns us about that to avoid using them until they're implemented.
|
Steps To Reproduce | See above |
Proposed Solution | ESLint provides rules to limit the use of certain js syntaxes. In [1] we have a summary of the options available. We should list all ES9 features that are not supported yet in Chrome/Firefox and prevents their use via linter rules.
[1] https://github.com/eslint/eslint/issues/12478#issuecomment-545047731 [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0039983 | | closed | jarmendariz | Upgrade javascript linter and formatter | caused by | feature request | 0042075 | | closed | migueldejuana | Update ESLint settings to support ES9 | related to | feature request | 0042177 | | closed | jarmendariz | Create infrastucture for javascript tests |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-10-23 10:24 | jarmendariz | New Issue | |
2019-10-23 10:24 | jarmendariz | Assigned To | => platform |
2019-10-23 10:24 | jarmendariz | OBNetwork customer | => No |
2019-10-23 10:24 | jarmendariz | Modules | => Core |
2019-10-23 10:24 | jarmendariz | Triggers an Emergency Pack | => No |
2019-10-23 10:25 | jarmendariz | Relationship added | caused by 0042075 |
2019-10-23 10:25 | jarmendariz | Relationship added | related to 0039983 |
2019-10-23 11:00 | alostale | Type | defect => feature request |
2019-11-04 10:39 | jarmendariz | Relationship added | related to 0042177 |
2022-02-01 08:07 | alostale | Assigned To | platform => Triage Platform Base |