Skip to content

Commit 7342d4a

Browse files
committed
run 'npm run prettier'
1 parent e0e786f commit 7342d4a

File tree

170 files changed

+8837
-7619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+8837
-7619
lines changed

.esdoc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"source": "./src",
33
"destination": "./api-docs",
44
"plugins": [
5-
{"name": "@itsjamie/esdoc-standard-plugin"},
6-
{"name": "@itsjamie/esdoc-typescript-plugin", "option": {"enable": true}},
5+
{ "name": "@itsjamie/esdoc-standard-plugin" },
6+
{ "name": "@itsjamie/esdoc-typescript-plugin", "option": { "enable": true } },
77
{
88
"name": "@itsjamie/esdoc-ecmascript-proposal-plugin",
99
"option": {

.github/CONTRIBUTING.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
#### **Did you find a bug?**
66

7-
* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/video-dev/hls.js/issues).
7+
- **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/video-dev/hls.js/issues).
88

9-
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/video-dev/hls.js/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
9+
- If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/video-dev/hls.js/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
1010

1111
#### **Did you write a patch that fixes a bug?**
1212

13-
- First, checkout the repository and install required dependencies
13+
- First, checkout the repository and install required dependencies
1414

1515
```sh
1616
git clone https://github.com/video-dev/hls.js.git
@@ -25,7 +25,7 @@ npm run lint
2525
npm run test
2626
```
2727

28-
- Use [EditorConfig](http://editorconfig.org/) or at least stay consistent to the file formats defined in the `.editorconfig` file.
29-
- Develop in a topic branch, not master
28+
- Use [EditorConfig](http://editorconfig.org/) or at least stay consistent to the file formats defined in the `.editorconfig` file.
29+
- Develop in a topic branch, not master
3030

31-
Thanks! :heart: :heart: :heart:
31+
Thanks! :heart: :heart: :heart:

.github/ISSUE_TEMPLATE/bug_report.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
54
---
65

76
### What version of Hls.js are you using?
87

98
### What browser and OS are you using?
109

1110
### Test stream:
11+
1212
<!-- If possible, please provide a test stream or page -->
1313
<!-- You can paste your stream into the demo and provide the permalink here -->
1414

1515
### Checklist
16+
1617
<!-- Replace [ ] with [x] to check off the list -->
18+
1719
- [ ] The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
1820
- [ ] The issue occurs in the stable client on https://hls-js.netlify.com/demo and not just on my page
1921
<!-- The stable client is built from the latest release -->
@@ -23,20 +25,24 @@ about: Create a report to help us improve
2325
- [ ] There are no network errors such as 404s in the browser console when trying to play the stream
2426

2527
### Steps to reproduce
28+
2629
1. Please provide clear steps to reproduce your problem
2730
2. If the bug is intermittent, give a rough frequency
2831

2932
### Expected behavior
30-
*What you expected to happen*
33+
34+
_What you expected to happen_
3135

3236
### Actual behavior
33-
*What actually happened*
37+
38+
_What actually happened_
3439

3540
### Console output
41+
3642
```
3743
Paste the contents of the browser console here.
3844
```
3945

4046
```
41-
For media errors reported on Chrome browser, please also paste the output of chrome://media-internals
47+
For media errors reported on Chrome browser, please also paste the output of chrome://media-internals
4248
```

.github/ISSUE_TEMPLATE/feature_request.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
54
---
65

76
**Is your feature request related to a problem? Please describe.**

.github/ISSUE_TEMPLATE/question-.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: 'Question '
33
about: Need some help?
4-
54
---
65

76
**What do you want to do with Hls.js?**

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ updates:
66
interval: daily
77
commit-message:
88
# prevent netlify build
9-
prefix: "[skip ci]"
9+
prefix: '[skip ci]'
1010
open-pull-requests-limit: 99
1111
versioning-strategy: increase-if-necessary

.github/workflows/codeql-analysis.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
44
push:
@@ -17,15 +17,15 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
language: ['javascript']
20-
20+
2121
steps:
22-
- name: Checkout repository
23-
uses: actions/checkout@v2
22+
- name: Checkout repository
23+
uses: actions/checkout@v2
2424

25-
- name: Initialize CodeQL
26-
uses: github/codeql-action/init@v1
27-
with:
28-
languages: ${{ matrix.language }}
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v1
27+
with:
28+
languages: ${{ matrix.language }}
2929

30-
- name: Perform CodeQL Analysis
31-
uses: github/codeql-action/analyze@v1
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v1

.vscode/tasks.json

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=733558
3-
// for the documentation about the tasks.json format
4-
"version": "2.0.0",
5-
"tasks": [
6-
{
7-
"type": "npm",
8-
"script": "lint",
9-
"problemMatcher": [
10-
"$eslint-stylish"
11-
]
12-
}
13-
]
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "lint",
9+
"problemMatcher": ["$eslint-stylish"]
10+
}
11+
]
1412
}

CODE_OF_CONDUCT.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ We pledge to act and interact in ways that contribute to an open, welcoming, div
1010

1111
Examples of behavior that contributes to a positive environment for our community include:
1212

13-
* Demonstrating empathy and kindness toward other people
14-
* Being respectful of differing opinions, viewpoints, and experiences
15-
* Giving and gracefully accepting constructive feedback
16-
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17-
* Focusing on what is best not just for us as individuals, but for the overall community
13+
- Demonstrating empathy and kindness toward other people
14+
- Being respectful of differing opinions, viewpoints, and experiences
15+
- Giving and gracefully accepting constructive feedback
16+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
- Focusing on what is best not just for us as individuals, but for the overall community
1818

1919
Examples of unacceptable behavior include:
2020

21-
* The use of sexualized language or imagery, and sexual attention or
21+
- The use of sexualized language or imagery, and sexual attention or
2222
advances of any kind
23-
* Trolling, insulting or derogatory comments, and personal or political attacks
24-
* Public or private harassment
25-
* Publishing others' private information, such as a physical or email
23+
- Trolling, insulting or derogatory comments, and personal or political attacks
24+
- Public or private harassment
25+
- Publishing others' private information, such as a physical or email
2626
address, without their explicit permission
27-
* Other conduct which could reasonably be considered inappropriate in a
27+
- Other conduct which could reasonably be considered inappropriate in a
2828
professional setting
2929

3030
## Enforcement Responsibilities
@@ -67,7 +67,7 @@ Community leaders will follow these Community Impact Guidelines in determining t
6767

6868
### 4. Permanent Ban
6969

70-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
70+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
7171

7272
**Consequence**: A permanent ban from any sort of public interaction within the project community.
7373

0 commit comments

Comments
 (0)