Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0045959 | Openbravo ERP | A. Platform | public | 2021-02-26 11:53 | 2021-03-01 09:54 |
|
Reporter | jarmendariz | |
Assigned To | jarmendariz | |
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR21Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0045959: ESLint does not evaluate .jsx files by default in React code |
Description | With 0045846 we added infrastructure to support React applications in the future.
ESLint CLI by default looks for only all .js files not ignored in the .eslintignore files, so .jsx files are not checked until you pass it explicitly to ESLint (e.g. in git hooks) |
Steps To Reproduce | - Open any .jsx file
- Add code that introduces an error to the linter, for example:
const unused = 'unused';
- Run org.openbravo.client.kernel/jslint/jslint
- The introduced error does not appear |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0045846 | | closed | alostale | prepare infrastructure to support react applications |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-02-26 11:53 | jarmendariz | New Issue | |
2021-02-26 11:53 | jarmendariz | Assigned To | => jarmendariz |
2021-02-26 11:53 | jarmendariz | Modules | => Core |
2021-02-26 11:53 | jarmendariz | Triggers an Emergency Pack | => No |
2021-02-26 11:53 | jarmendariz | Relationship added | related to 0045846 |
2021-02-26 11:58 | hgbot | Note Added: 0126373 | |
2021-02-26 15:49 | hgbot | Note Added: 0126374 | |
2021-02-26 15:54 | hgbot | Note Added: 0126375 | |
2021-02-26 15:58 | hgbot | Note Added: 0126376 | |
2021-03-01 09:51 | hgbot | Note Added: 0126410 | |
2021-03-01 09:51 | hgbot | Note Added: 0126411 | |
2021-03-01 09:52 | jarmendariz | Status | new => scheduled |
2021-03-01 09:52 | hgbot | Note Added: 0126412 | |
2021-03-01 09:52 | hgbot | Note Added: 0126413 | |
2021-03-01 09:53 | hgbot | Note Added: 0126414 | |
2021-03-01 09:53 | hgbot | Note Added: 0126415 | |
2021-03-01 09:54 | hgbot | Resolution | open => fixed |
2021-03-01 09:54 | hgbot | Status | scheduled => closed |
2021-03-01 09:54 | hgbot | Fixed in Version | => PR21Q2 |
2021-03-01 09:54 | hgbot | Note Added: 0126416 | |
2021-03-01 09:54 | hgbot | Note Added: 0126417 | |
Notes |
|
(0126373)
|
hgbot
|
2021-02-26 11:58
|
|
|
|
(0126374)
|
hgbot
|
2021-02-26 15:49
|
|
|
|
(0126375)
|
hgbot
|
2021-02-26 15:54
|
|
|
|
(0126376)
|
hgbot
|
2021-02-26 15:58
|
|
|
|
(0126410)
|
hgbot
|
2021-03-01 09:51
|
|
|
|
(0126411)
|
hgbot
|
2021-03-01 09:51
|
|
|
|
(0126412)
|
hgbot
|
2021-03-01 09:52
|
|
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4b9a1838100e505195b215db33bb2ab95fba45e1
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 2021-03-01T09:49:04+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4b9a1838100e505195b215db33bb2ab95fba45e1 [^]
Related to ISSUE-45959: Fixing ESLint issues in jsx files
---
M web-jspack/org.openbravo.pos2/src/components/Drawer/__test__/DrawerDynamicMenuGroup.test.jsx
M web-jspack/org.openbravo.pos2/src/components/ProductCategoryButton/__test__/ProductCategoryButton.test.jsx
M web-jspack/org.openbravo.pos2/src/components/TerminalAuthentication/TerminalAuthenticationForm.jsx
M web-jspack/org.openbravo.pos2/src/components/TerminalAuthentication/TerminalAuthenticationScreen.jsx
M web-jspack/org.openbravo.pos2/src/components/TerminalAuthentication/__test__/TerminalAuthenticationForm.test.jsx
M web-jspack/org.openbravo.pos2/src/components/TerminalAuthentication/__test__/TerminalAuthenticationHeader.test.jsx
M web-jspack/org.openbravo.pos2/src/components/TerminalAuthentication/stories/TerminalAuthenticationForm.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/TerminalAuthentication/stories/TerminalAuthenticationHeader.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/TerminalAuthentication/stories/TerminalAuthenticationScreen.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketSummary/__test__/TicketSummary.test.jsx
---
|
|
|
(0126413)
|
hgbot
|
2021-03-01 09:52
|
|
|
|
(0126414)
|
hgbot
|
2021-03-01 09:53
|
|
|
|
(0126415)
|
hgbot
|
2021-03-01 09:53
|
|
|
|
(0126416)
|
hgbot
|
2021-03-01 09:54
|
|
|
|
(0126417)
|
hgbot
|
2021-03-01 09:54
|
|
|