-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update modules, node 18 (#250) * Use .nvmrc (Node 16) and update some modules * Fix modules marked as critical vulnerabilities * Update a few more packages * Rev Node version to 18 (LTS) * Replace tslint (deprecated) with eslint * Rev version * Note on full HD and scalable video (#251) * Note on full HD and scalable video * Set scalable video as default in sample app * README correction * adress PR comments * Typo correction --------- Co-authored-by: Ben <[email protected]> --------- Co-authored-by: Ben <[email protected]>
- Loading branch information
1 parent
6fad234
commit 89c028f
Showing
19 changed files
with
17,481 additions
and
16,137 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,151 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "tsconfig.json", | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"@typescript-eslint/tslint" | ||
], | ||
"root": true, | ||
"rules": { | ||
"@typescript-eslint/indent": [ | ||
"error", | ||
2, | ||
{ | ||
"ArrayExpression": "first", | ||
"ObjectExpression": "first", | ||
"FunctionDeclaration": { | ||
"parameters": "first" | ||
}, | ||
"FunctionExpression": { | ||
"parameters": "first" | ||
} | ||
} | ||
], | ||
"@typescript-eslint/member-delimiter-style": [ | ||
"error", | ||
{ | ||
"multiline": { | ||
"delimiter": "semi", | ||
"requireLast": true | ||
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": false | ||
} | ||
} | ||
], | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"selector": "variable", | ||
"format": [ | ||
"camelCase", | ||
"UPPER_CASE" | ||
], | ||
"leadingUnderscore": "forbid", | ||
"trailingUnderscore": "forbid" | ||
} | ||
], | ||
"@typescript-eslint/no-array-constructor": "error", | ||
"@typescript-eslint/no-this-alias": "error", | ||
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error", | ||
"@typescript-eslint/quotes": [ | ||
"error", | ||
"single", | ||
{ | ||
"avoidEscape": true | ||
} | ||
], | ||
"@typescript-eslint/semi": [ | ||
"error", | ||
"always" | ||
], | ||
"arrow-parens": [ | ||
"off", | ||
"always" | ||
], | ||
"comma-dangle": [ | ||
"error", | ||
"always-multiline" | ||
], | ||
"curly": [ | ||
"error", | ||
"multi-line" | ||
], | ||
"eol-last": "error", | ||
"eqeqeq": [ | ||
"error", | ||
"smart" | ||
], | ||
"id-denylist": "error", | ||
"id-match": "error", | ||
"indent": "off", | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 120 | ||
} | ||
], | ||
"no-array-constructor": "off", | ||
"no-duplicate-imports": "error", | ||
"no-eval": "error", | ||
"no-multiple-empty-lines": "error", | ||
"no-new-wrappers": "error", | ||
"no-param-reassign": "error", | ||
"no-trailing-spaces": "error", | ||
"no-underscore-dangle": "error", | ||
"no-var": "error", | ||
"object-shorthand": "error", | ||
"one-var": [ | ||
"error", | ||
"never" | ||
], | ||
"prefer-const": "error", | ||
"prefer-template": "error", | ||
"quote-props": [ | ||
"error", | ||
"as-needed" | ||
], | ||
"quotes": "off", | ||
"radix": "error", | ||
"semi": "off", | ||
"space-before-function-paren": [ | ||
"error", | ||
{ | ||
"anonymous": "always", | ||
"named": "never" | ||
} | ||
], | ||
"spaced-comment": [ | ||
"error", | ||
"always", | ||
{ | ||
"markers": [ | ||
"/" | ||
] | ||
} | ||
], | ||
"@typescript-eslint/tslint/config": [ | ||
"error", | ||
{ | ||
"rules": { | ||
"whitespace": [ | ||
true, | ||
"check-branch", | ||
"check-operator", | ||
"check-separator", | ||
"check-typecast" | ||
], | ||
} | ||
} | ||
] | ||
} | ||
}; |
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 @@ | ||
18.16.1 |
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.