diff --git a/.storybook/main.ts b/.storybook/main.ts
index 26a4cb686..e5f14586f 100644
--- a/.storybook/main.ts
+++ b/.storybook/main.ts
@@ -32,7 +32,15 @@ const config: StorybookConfig = {
};
}
- return config;
+ return {
+ ...config,
+ plugins: config.plugins?.filter(plugin => {
+ if (plugin.constructor.name === 'ESLintWebpackPlugin') {
+ return false
+ }
+ return true
+ }),
+ };
}
};
export default config;
diff --git a/.vscode/components.code-snippets b/.vscode/components.code-snippets
index da4851e5f..85c9b54fa 100644
--- a/.vscode/components.code-snippets
+++ b/.vscode/components.code-snippets
@@ -26,7 +26,7 @@
"interface ${1:ComponentName}Props {",
"}",
"",
- "const ${1:ComponentName}: FC<${1:ComponentName}Props> = (props: ${1:ComponentName}Props) => {",
+ "const ${1:ComponentName}: FC<${1:ComponentName}Props> = props => {",
"",
" return (",
"
",
diff --git a/src/.eslintrc.js b/src/.eslintrc.js
index c2a131980..3a4ea5127 100644
--- a/src/.eslintrc.js
+++ b/src/.eslintrc.js
@@ -71,7 +71,7 @@ module.exports = {
parameter: true,
memberVariableDeclaration: true,
callSignature: true,
- variableDeclaration: true,
+ variableDeclaration: false,
arrayDestructuring: false,
objectDestructuring: true,
},
diff --git a/src/libs/shared/lib/components/input-skill-selector/InputSkillSelector.tsx b/src/libs/shared/lib/components/input-skill-selector/InputSkillSelector.tsx
new file mode 100644
index 000000000..78f0800ed
--- /dev/null
+++ b/src/libs/shared/lib/components/input-skill-selector/InputSkillSelector.tsx
@@ -0,0 +1,37 @@
+import { ChangeEvent, FC } from 'react'
+import { noop } from 'lodash'
+
+import { InputMultiselect } from '~/libs/ui'
+
+import { autoCompleteSkills } from '../../services/emsi-skills'
+
+interface Option {
+ label: string
+ value: string
+}
+
+const fetchSkills = (queryTerm: string): Promise