-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refactor: Migration to TypeScript' solves FEC-13371 Related PRs kaltura/kaltura-player-js#661 kaltura/playkit-js#726 kaltura/playkit-js-hls#213 kaltura/playkit-js-dash#254 kaltura/playkit-js-ui#815 kaltura/playkit-js-browserslist-config#1 Co-authored-by: JonathanTGold <jonathan.gold@[email protected]>
- Loading branch information
1 parent
77fdeee
commit 2452bbc
Showing
152 changed files
with
15,565 additions
and
6,740 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,60 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": ["eslint:recommended", "plugin:flowtype/recommended"], | ||
"plugins": ["prettier", "import", "flowtype", "mocha-no-only"], | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"mocha": true, | ||
"amd": true, | ||
"commonjs": true | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], | ||
"plugins": ["@typescript-eslint"], | ||
"rules": { | ||
"indent": ["error", 2], | ||
"react/prefer-stateless-function": "off", | ||
"max-len": ["warn", { "code": 500 }], | ||
"eol-last": "off", | ||
"@typescript-eslint/explicit-function-return-type": "warn", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-unused-vars": "error", | ||
// "@typescript-eslint/no-explicit-any": "warn", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/explicit-member-accessibility": [ | ||
"error", | ||
{ | ||
"accessibility": "explicit", | ||
"overrides": { | ||
"accessors": "explicit", | ||
"constructors": "no-public", | ||
"methods": "explicit", | ||
"properties": "explicit", | ||
"parameterProperties": "explicit" | ||
} | ||
} | ||
], | ||
"block-scoped-var": "error", | ||
"eqeqeq": "error", | ||
"no-var": "error", | ||
"no-console": "error", | ||
"prefer-const": "error", | ||
"prefer-arrow-callback": "error", | ||
"no-trailing-spaces": "error", | ||
"quotes": ["warn", "single", { "avoidEscape": true }], | ||
"no-restricted-properties": [ | ||
"error", | ||
{ | ||
"object": "describe", | ||
"property": "only" | ||
}, | ||
{ | ||
"object": "it", | ||
"property": "only" | ||
} | ||
] | ||
}, | ||
"globals": { | ||
"should": true, | ||
"sinon": true, | ||
"__VERSION__": true, | ||
"__NAME__": true, | ||
"process": true, | ||
"__dirname": true | ||
"overrides": [], | ||
"settings": { | ||
"jest": { | ||
"version": 26 | ||
} | ||
}, | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"mocha-no-only/mocha-no-only": "off", | ||
"require-jsdoc": ["error"], | ||
"valid-jsdoc": ["error"] | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true | ||
} | ||
} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,9 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules | ||
jspm_packages | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
dist | ||
coverage | ||
.idea | ||
|
||
/dist/ | ||
*.log | ||
lib | ||
api-extractor/report/ | ||
api-extractor/report-temp/ | ||
api-extractor/playkit-js-providers.api.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"mainEntryPointFilePath": "<projectFolder>/lib/types/index.d.ts", | ||
"bundledPackages": [], | ||
"compiler": {}, | ||
"apiReport": { | ||
"enabled": true, | ||
"reportFolder": "<projectFolder>/api-extractor/report", | ||
"reportTempFolder": "<projectFolder>/api-extractor/report-temp" | ||
}, | ||
"docModel": { | ||
"enabled": true, | ||
"apiJsonFilePath": "<projectFolder>/api-extractor/<unscopedPackageName>.api.json" | ||
}, | ||
"dtsRollup": { | ||
"enabled": true, | ||
"untrimmedFilePath": "<projectFolder>/dist/index.d.ts" | ||
}, | ||
"tsdocMetadata": {}, | ||
"messages": { | ||
"compilerMessageReporting": { | ||
"default": { | ||
"logLevel": "warning" | ||
} | ||
}, | ||
"extractorMessageReporting": { | ||
"default": { | ||
"logLevel": "warning" | ||
} | ||
}, | ||
"tsdocMessageReporting": { | ||
"default": { | ||
"logLevel": "warning" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.