[ESCONF-20] loosen rules applied to tests and files recognized as tests Created: 21/Jul/22 Updated: 13/Oct/22 Resolved: 04/Oct/22 |
|
| Status: | Closed |
| Project: | eslint-config-stripes |
| Components: | None |
| Affects versions: | None |
| Fix versions: | 6.3.0 |
| Type: | Story | Priority: | P3 |
| Reporter: | Zak Burke | Assignee: | Zak Burke |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Sprint: | stripes-force 150, stripes-force 147, stripes-force 148 |
| Story Points: | 1 |
| Development Team: | Stripes Force |
| Release: | Nolana (R3 2022) |
| RCA Group: | TBD |
| Description |
|
Summary: Some rules are valueless when applied to tests, and not all test files are located in ./tests; eslint should accommodate this. Details: In BTOG, test files are always located in ./tests; no longer. Jest/RTL are in ./src and may be in a test or tests directory or may end with .test.js. The following rules should be disabled:
|