Openbravo Issue Tracking System - POS2 | |||||||||||||||||||||
View Issue Details | |||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
0045326 | POS2 | Core | public | 2020-10-28 17:15 | 2021-01-18 13:21 | ||||||||||||||||
Reporter | jarmendariz | ||||||||||||||||||||
Assigned To | jarmendariz | ||||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||||
Status | closed | Resolution | duplicate | ||||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||||
Product Version | |||||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||||
Merge Request Status | |||||||||||||||||||||
Review Assigned To | jarmendariz | ||||||||||||||||||||
OBNetwork customer | |||||||||||||||||||||
Support ticket | |||||||||||||||||||||
Regression level | |||||||||||||||||||||
Regression date | |||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||||
Summary | 0045326: Linting in BL files is not working | ||||||||||||||||||||
Description | ESLint fails at linting javascript business logic files (those in module's app/ folder) with the following error message: Failed to load config "airbnb-base" to extend from. Referenced from: /Users/.../openbravo/modules/org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/app/.eslintrc.json | ||||||||||||||||||||
Steps To Reproduce | Run the linter from the console. In a module with BL files (posterminal for example): - Run ../org.openbravo.client.kernel/jslint/jslint The error message mentioned above should appear. Also, IntelliJ IDE shows an ESLint related error message when opening a javascript file in the app/ folder. | ||||||||||||||||||||
Proposed Solution | Replace the following line in the .eslintrc.json template for app/ files: { "extends": ["airbnb", ...] } and fix all configurations tracked by the VCS. | ||||||||||||||||||||
Additional Information | |||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||
Relationships |
| ||||||||||||||||||||
Attached Files | |||||||||||||||||||||
Issue History | |||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||
2020-10-28 17:15 | jarmendariz | New Issue | |||||||||||||||||||
2020-10-28 17:15 | jarmendariz | Assigned To | => Retail | ||||||||||||||||||
2020-10-28 17:15 | jarmendariz | Triggers an Emergency Pack | => No | ||||||||||||||||||
2020-10-29 08:31 | jarmendariz | Status | new => scheduled | ||||||||||||||||||
2020-10-29 08:31 | jarmendariz | Assigned To | Retail => jarmendariz | ||||||||||||||||||
2020-11-25 12:12 | guilleaer | Relationship added | related to 0045315 | ||||||||||||||||||
2020-11-25 12:13 | guilleaer | Note Added: 0124614 | |||||||||||||||||||
2021-01-15 09:53 | jarmendariz | Relationship added | depends on 0045516 | ||||||||||||||||||
2021-01-18 13:21 | jarmendariz | Review Assigned To | => jarmendariz | ||||||||||||||||||
2021-01-18 13:21 | jarmendariz | Note Added: 0125529 | |||||||||||||||||||
2021-01-18 13:21 | jarmendariz | Status | scheduled => closed | ||||||||||||||||||
2021-01-18 13:21 | jarmendariz | Resolution | open => duplicate |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|