fixing syntax issue #11
Annotations
5 errors and 5 warnings
build-library
Process completed with exit code 1.
|
build-web
Process completed with exit code 1.
|
lint:
example/src/Ckeditor.tsx#L26
'e' is defined but never used. Allowed unused args must match /^_/u
|
lint:
example/src/Ckeditor.tsx#L42
'e' is defined but never used. Allowed unused args must match /^_/u
|
lint
Process completed with exit code 1.
|
lint:
example/src/App.tsx#L14
Inline style: { flex: 1, backgroundColor: '#222' }
|
lint:
example/src/Ckeditor.tsx#L51
Empty components are self-closing
|
lint:
example/src/TaskList.tsx#L22
'data' is already declared in the upper scope on line 14 column 9
|
lint:
example/src/TaskList.tsx#L25
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “TaskList” and pass data as props
|
lint:
example/src/TaskList.tsx#L25
'data' is already declared in the upper scope on line 14 column 9
|