Primary button ready without font family #3
Annotations
29 errors and 23 warnings
src/components/PrimaryButton.tsx#L1
There are issues with this file's formatting, please run Prettier to fix the errors
|
App.tsx#L1
'PrimaryButton' is defined but never used. Allowed unused vars must match /_/u (@typescript-eslint/no-unused-vars)
|
src/components/PrimaryButton.tsx#L1
'View' is defined but never used. Allowed unused vars must match /_/u (@typescript-eslint/no-unused-vars)
|
src/components/PrimaryButton.tsx#L1
Insert `;` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L2
Insert `;` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L5
Replace `····` with `··` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L6
Replace `····` with `··` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L11
Replace `·=·` with `=` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L12
Replace `········<Text·style·=·` with `······<Text·style=` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L14
Insert `;` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L15
Insert `;` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L17
Insert `;` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L20
Delete `··` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L21
Replace `········` with `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L22
Replace `········` with `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L23
Replace `········` with `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L24
Delete `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L25
Replace `········` with `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L26
Replace `········borderRadius:·10` with `····borderRadius:·10,` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L27
Delete `··` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L29
Replace `····` with `··` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L30
Delete `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L31
Delete `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L32
Delete `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L33
Replace `········` with `····` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L34
Replace `········textAlign:·'center'` with `····textAlign:·'center',` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L35
Replace `····}` with `··},` (prettier/prettier)
|
src/components/PrimaryButton.tsx#L36
Insert `;⏎` (prettier/prettier)
|
Run linters
Linting failures detected. See check runs with annotations for details.
|
App.tsx#L1
Run autofix to sort these imports! (simple-import-sort/imports)
|
App.tsx#L1
There should be at least one empty line between import groups (import/order)
|
App.tsx#L1
`@/components/PrimaryButton` import should occur after import of `react-native` (import/order)
|
src/components/PrimaryButton.tsx#L1
Run autofix to sort these imports! (simple-import-sort/imports)
|
src/components/PrimaryButton.tsx#L1
Missing semicolon (semi)
|
src/components/PrimaryButton.tsx#L2
`react` import should occur before import of `react-native` (import/order)
|
src/components/PrimaryButton.tsx#L2
Missing semicolon (semi)
|
src/components/PrimaryButton.tsx#L12
Expected indentation of 6 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L14
Missing semicolon (semi)
|
src/components/PrimaryButton.tsx#L15
Missing semicolon (semi)
|
src/components/PrimaryButton.tsx#L17
Missing semicolon (semi)
|
src/components/PrimaryButton.tsx#L20
Expected indentation of 2 spaces but found 4 (indent)
|
src/components/PrimaryButton.tsx#L21
Expected indentation of 4 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L22
Expected indentation of 4 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L23
Expected indentation of 4 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L24
Expected indentation of 4 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L25
Expected indentation of 4 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L26
Expected indentation of 4 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L27
Expected indentation of 2 spaces but found 4 (indent)
|
src/components/PrimaryButton.tsx#L29
Expected indentation of 2 spaces but found 4 (indent)
|
src/components/PrimaryButton.tsx#L30
Expected indentation of 4 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L31
Expected indentation of 4 spaces but found 8 (indent)
|
src/components/PrimaryButton.tsx#L32
Expected indentation of 4 spaces but found 8 (indent)
|