-
Notifications
You must be signed in to change notification settings - Fork 14
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
…838) ### Description of the Changes #### solves FEC-13371 FEC-13614 Related prs: kaltura/kaltura-player-js#690 --------- Co-authored-by: JonathanTGold <jonathan.gold@[email protected]>
- Loading branch information
1 parent
b393b99
commit 20f8b3d
Showing
321 changed files
with
8,825 additions
and
7,993 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 |
---|---|---|
@@ -1,49 +1,59 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": ["eslint:recommended", "plugin:flowtype/recommended", "plugin:react/recommended"], | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"settings": { | ||
"react": { | ||
"pragma": "h", | ||
"version": "16.0" | ||
} | ||
}, | ||
"plugins": ["prettier", "import", "flowtype", "mocha-no-only", "react"], | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"mocha": true, | ||
"amd": true, | ||
"commonjs": true | ||
}, | ||
"globals": { | ||
"should": true, | ||
"sinon": true, | ||
"process": true, | ||
"__dirname": true, | ||
"__VERSION__": true, | ||
"__NAME__": true, | ||
"__CSS_MODULE_PREFIX__": true | ||
}, | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"extends": ["plugin:prettier/recommended", "plugin:@typescript-eslint/recommended", "prettier"], | ||
"plugins": ["prettier", "@typescript-eslint"], | ||
"rules": { | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 150, | ||
"ignoreComments": true, | ||
"ignoreStrings": true, | ||
"ignoreUrls": true, | ||
"ignoreTemplateLiterals": true, | ||
"ignoreRegExpLiterals": true | ||
} | ||
], | ||
"eol-last": "off", | ||
"prettier/prettier": "error", | ||
"mocha-no-only/mocha-no-only": "off", | ||
"flowtype/define-flow-type": 2, | ||
"react/prop-types": 0, | ||
"require-jsdoc": [ | ||
"@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", | ||
{ | ||
"require": { | ||
"FunctionDeclaration": true, | ||
"MethodDefinition": true, | ||
"ClassDeclaration": true, | ||
"ArrowFunctionExpression": true | ||
"accessibility": "explicit", | ||
"overrides": { | ||
"accessors": "explicit", | ||
"constructors": "no-public", | ||
"methods": "explicit", | ||
"properties": "explicit", | ||
"parameterProperties": "explicit" | ||
} | ||
} | ||
], | ||
"valid-jsdoc": ["error"], | ||
"react/no-deprecated": "off" | ||
"@typescript-eslint/ban-types": [ | ||
"error", | ||
{ | ||
"extendDefaults": true, | ||
"types": { | ||
"Function": false // Overrides the rule for "Function" type only | ||
} | ||
} | ||
], | ||
"block-scoped-var": "error", | ||
"eqeqeq": "error", | ||
"no-var": "error", | ||
"no-console": "error", | ||
"prefer-const": "error" | ||
}, | ||
"overrides": [], | ||
"settings": {}, | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
/dist | ||
/src/index.html | ||
dist/ | ||
lib/ | ||
docs/ | ||
api-extractor/ | ||
.github/ | ||
flow-typed/ | ||
samples/ | ||
coverage/ | ||
CHANGELOG.md | ||
yarn.lock | ||
yarn-error.log | ||
LICENSE | ||
coverage | ||
README.md | ||
|
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/src/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/<unscopedPackageName>.d.ts" | ||
}, | ||
"tsdocMetadata": {}, | ||
"messages": { | ||
"compilerMessageReporting": { | ||
"default": { | ||
"logLevel": "warning" | ||
} | ||
}, | ||
"extractorMessageReporting": { | ||
"default": { | ||
"logLevel": "none" | ||
} | ||
}, | ||
"tsdocMessageReporting": { | ||
"default": { | ||
"logLevel": "none" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.