forked from stream-labs/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big refactor: clean TSLint + AirBnB config (stream-labs#1129)
* refactor: fix code issues, details follow These are some, but not all, of the changes: * add lint commands, including CI, to `package.json`. * remove eslint, we will invest on tslint instead. * add `readonly` modifier to fields that deserve it. * shorten imports. * fix chatbot templates having invalid syntax. * add AirBnB config through tslint and apply automatic fixes. * manual fixes. * test: import `reflect-metadata` in services manager Perhaps related to compilation order, `reflect-metadata` has to be imported in this file, otherwise we would get the following compilation error: ``` app/services-manager.ts(545,21): error TS2339: Property 'getMetadata' does not exist on type 'typeof Reflect'. ```
- Loading branch information
1 parent
9a388b9
commit b94f0b5
Showing
418 changed files
with
6,248 additions
and
7,945 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.