-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EN-6274] feat(cv): integration page CV #137
Conversation
.lintstagedrc.js
Outdated
@@ -1,4 +1,4 @@ | |||
module.exports = { | |||
'*.ts?(x)': 'yarn lint:fix', | |||
'*.ts?(x)': ['yarn tsc-files', 'yarn lint:fix'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est quoi tsc-files
? Pourquoi on utilise pas le script ts-check
?
package.json
Outdated
@@ -13,6 +13,7 @@ | |||
"lint": "npx eslint src --ext js,jsx,ts,tsx", | |||
"lint:fix": "npx eslint src --ext js,jsx,ts,tsx --fix", | |||
"ts-check": "tsc -p tsconfig.json --noEmit", | |||
"ts-check:hook": "tsc tsconfig.json --noEmit", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il n'est pas utilisé ce script si ? Pourquoi il est différent ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ca faut le faire sauter
src/components/cv/CVFicheEdition.tsx
Outdated
@@ -15,7 +16,17 @@ import { Grid, Img } from 'src/components/utils'; | |||
|
|||
import { CV_STATUS } from 'src/constants'; | |||
import { useMount, usePrevious } from 'src/hooks/utils'; | |||
import { CVShape } from './CV.shape'; | |||
|
|||
interface VFicheEditionProps { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plutôt CVFicheEditionProps
non ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah oui il manque un C :D
import { findConstantFromValue, sortByOrder } from 'src/utils'; | ||
|
||
export const CVEditCareerPath = ({ ambitions, businessLines, onChange }) => { | ||
interface CVEditCareerPath { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plutôt CVEditCareerPathProps
No description provided.