Convert to TypeScript
This needs the usual "I know the `app` element exists" annotation, plus dealing with a non-existing /etc/hostname (in which case the watch will return `null`, and we shouldn't poke that into a `string` state).
This commit is contained in:
parent
4bbb291281
commit
745b4ab8e8
6 changed files with 43 additions and 5 deletions
|
|
@ -75,7 +75,7 @@ remove manually the symlink:
|
|||
# Running eslint
|
||||
|
||||
Cockpit Starter Kit uses [ESLint](https://eslint.org/) to automatically check
|
||||
JavaScript code style in `.js` and `.jsx` files.
|
||||
JavaScript/TypeScript code style in `.js[x]` and `.ts[x]` files.
|
||||
|
||||
eslint is executed as part of `test/static-code`, aka. `make codecheck`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue