-
-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial eslint * Remove types simple-peer * ESLint for core module * Convert JS class factory code to TS * Remove redundant version declaration * Hls.js: rewrite initialize from JS to TS * Shaka: rewrite initialize from JS to TS * Update package versions * Fix Webpack 5 build * Smaller size for hlsjs module via Browserify * Make Webpack config more common * Use eslint everywhere * WIP: Fixing linter issues in hlsjs engine * Better console handling * Disable errors on triple slash dirictives * Add types to loader interface messages * Disable types in tests * Normalize demo dependencies * Fix setInterval return type compiler error * Fix hls.js module linter errors * Forgotten package lock file * Types for Shaka player with ESLint fixes * Fix linter issues
- Loading branch information
Showing
68 changed files
with
12,966 additions
and
11,598 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
dist | ||
build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": ["./tsconfig.json", "./tsconfig.test.json"] | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking" | ||
], | ||
"env": { | ||
"browser": true | ||
}, | ||
"rules": { | ||
"quotes": ["error", "double"], | ||
"no-console": ["error", { "allow": ["warn", "error"] }], | ||
"eqeqeq": "error", | ||
"brace-style": ["error", "1tbs"], | ||
"eol-last": "error", | ||
"func-call-spacing": "error", | ||
"no-trailing-spaces": "error", | ||
"no-multi-spaces": "error", | ||
"@typescript-eslint/no-misused-promises": ["error", { "checksVoidReturn": false }], | ||
"@typescript-eslint/require-await": "off", | ||
"@typescript-eslint/triple-slash-reference": "off" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
tsconfig.json | ||
tsconfig.test.json | ||
tsconfig.tslint.json | ||
tslint.json | ||
.* | ||
tsconfig.* | ||
lib | ||
test | ||
.editorconfig | ||
build/dist | ||
webpackfile.js | ||
*.tgz |
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 was deleted.
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.