issue: ENG-7818
Move output validators to lib
Details
Details
flow
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- inka/userStore
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/types/validators/user-validators.js | ||
---|---|---|
13 ↗ | (On Diff #39935) | Don't we have to use a file extension? |
lib/types/validators/user-validators.js | ||
---|---|---|
13 ↗ | (On Diff #39935) | Unfortunately the ESLint rule does not enforce type imports. ESLint is mostly not able to parse Flow syntax, so we have to run everything through @babel/eslint-parser, which strips the Flow syntax. I've noticed in some cases (eg. Prettier) it is able to pass through everything including the Flow syntax, but in most cases it gets stripped We should make sure to include the file extensions for consistency, but it does not affect much (except my ability to open files in vim by putting my cursor over the filename) |