Dev #53
lint.yml
on: pull_request
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test
1m 3s
Annotations
8 errors and 1 warning
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test:
src/app/question-bank/[update-question-bank]/page.tsx#L116
Type 'levelsWithQuestionType | { competencyLevelNumber: number; competencyLevelName: string | number; question: string; questionId: number; questionPresent: false; }' is not assignable to type 'levelsWithQuestionType'.
|
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test:
src/app/question-bank/[update-question-bank]/page.tsx#L119
Type 'string | number' is not assignable to type 'string'.
|
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test:
src/components/uiComponents/AdminSelect.tsx#L47
Type '(base: CSSObjectWithLabel) => { 'input:focus': { boxShadow: "none"; }; width: string; cursor: "pointer"; accentColor?: readonly string[] | AccentColor | AccentColor[] | undefined; ... 954 more ...; label?: string | undefined; }' is not assignable to type '(base: CSSObjectWithLabel, props: InputProps<OptionType, false, GroupBase<OptionType>>) => CSSObjectWithLabel'.
|
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test:
src/components/uiComponents/AdminSelect.tsx#L55
Type '(baseStyles: CSSObjectWithLabel) => { border: string; outline: string; boxShadow: "none"; cursor: "pointer"; accentColor?: readonly string[] | AccentColor | AccentColor[] | undefined; ... 952 more ...; label?: string | undefined; }' is not assignable to type '(base: CSSObjectWithLabel, props: ControlProps<OptionType, false, GroupBase<OptionType>>) => CSSObjectWithLabel'.
|
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test:
src/components/uiComponents/AdminSelect.tsx#L62
Type '(provided: CSSObjectWithLabel) => { '&:hover': { background: string; cursor: "pointer"; }; accentColor?: readonly string[] | AccentColor | AccentColor[] | undefined; ... 956 more ...; label?: string | undefined; }' is not assignable to type '(base: CSSObjectWithLabel, props: OptionProps<OptionType, false, GroupBase<OptionType>>) => CSSObjectWithLabel'.
|
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test:
src/components/uiComponents/SelectTag.tsx#L41
Type '(base: CSSObjectWithLabel) => { 'input:focus': { boxShadow: "none"; }; width: string; accentColor?: readonly string[] | AccentColor | AccentColor[] | undefined; ... 955 more ...; label?: string | undefined; }' is not assignable to type '(base: CSSObjectWithLabel, props: InputProps<{ label: string | number; value: string | number; }, false, GroupBase<{ label: string | number; value: string | number; }>>) => CSSObjectWithLabel'.
|
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test:
src/components/uiComponents/SelectTag.tsx#L48
Type '(baseStyles: CSSObjectWithLabel) => { borderColor: "red" | "#E3E7EF"; paddingTop: string; paddingBottom: string; borderRadius: string; backgroundColor: "#fff"; ... 952 more ...; label?: string | undefined; }' is not assignable to type '(base: CSSObjectWithLabel, props: ControlProps<{ label: string | number; value: string | number; }, false, GroupBase<{ label: string | number; value: string | number; }>>) => CSSObjectWithLabel'.
|
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test
Process completed with exit code 2.
|
⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|