Skip to content

Commit 82017d1

Browse files
authored
Improvements ro Prettier and ESLint (#1305)
1 parent eb5e204 commit 82017d1

18 files changed

+15903
-16201
lines changed

.eslintignore

+21
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1+
# NOTE: This file and .eslintignore must contain same paths.
2+
3+
/.cache
4+
/art
5+
/coverage
6+
/doc
7+
/node/lib
18
/node/src/fbs
9+
/rust
10+
/target
11+
/worker/deps
12+
/worker/fbs
13+
/worker/fuzzer
14+
/worker/include
15+
/worker/prebuild
16+
/worker/pip_invoke
17+
/worker/src
18+
/worker/subprojects
19+
/worker/test
20+
/worker/out
21+
/NO_GIT
22+

.github/CONTRIBUTING.md

-73
This file was deleted.

.github/ISSUE_TEMPLATE/Bug_Report.md

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ If you got a crash in mediasoup, please try to provide a core dump into the issu
1616

1717
https://mediasoup.org/support/#crashes-in-mediasoup-get-a-core-dump
1818

19-
2019
### Your environment
2120

2221
- Operating system:
@@ -26,5 +25,4 @@ https://mediasoup.org/support/#crashes-in-mediasoup-get-a-core-dump
2625
- mediasoup version:
2726
- mediasoup-client version:
2827

29-
3028
### Issue description

.github/ISSUE_TEMPLATE/Support_Question.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ https://mediasoup.discourse.group
99

1010
Before asking any questions, please check the mediasoup official documentation:
1111

12-
https://mediasoup.org/documentation/
12+
https://mediasoup.org/documentation

.github/workflows/codeql.yaml

+40-36
Original file line numberDiff line numberDiff line change
@@ -32,51 +32,55 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: [ 'c-cpp', 'javascript-typescript', 'python' ]
35+
language: ['c-cpp', 'javascript-typescript', 'python']
3636
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
37-
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
38-
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
39-
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
37+
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both.
38+
# Use only 'javascript-typescript' to analyze code written in JavaScript,
39+
# TypeScript or both.
40+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support.
4041

4142
env:
4243
MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true'
4344

4445
steps:
45-
- name: Checkout repository
46-
uses: actions/checkout@v4
46+
- name: Checkout repository
47+
uses: actions/checkout@v4
4748

48-
# Initializes the CodeQL tools for scanning.
49-
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@v3
51-
with:
52-
languages: ${{ matrix.language }}
53-
# If you wish to specify custom queries, you can do so here or in a config file.
54-
# By default, queries listed here will override any specified in a config file.
55-
# Prefix the list here with "+" to use these queries and those in the config file.
56-
57-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
58-
# queries: security-extended,security-and-quality
49+
# Initializes the CodeQL tools for scanning.
50+
- name: Initialize CodeQL
51+
uses: github/codeql-action/init@v3
52+
with:
53+
languages: ${{ matrix.language }}
54+
# If you wish to specify custom queries, you can do so here or in a
55+
# config file. By default, queries listed here will override any
56+
# specified in a config file. Prefix the list here with "+" to use
57+
# these queries and those in the config file.
58+
#
59+
# Details on CodeQL's query packs refer to:
60+
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
61+
# queries: security-extended,security-and-quality
5962

60-
# We need to install pip invoke library.
61-
- name: pip3 install invoke
62-
run: pip3 install invoke
63-
64-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
65-
# If this step fails, then you should remove it and run the build manually (see below)
66-
- name: Autobuild
67-
uses: github/codeql-action/autobuild@v3
63+
# We need to install pip invoke library.
64+
- name: pip3 install invoke
65+
run: pip3 install invoke
6866

69-
# ℹ️ Command-line programs to run using the OS shell.
70-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
67+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
68+
# If this step fails, then you should remove it and run the build manually (see below)
69+
- name: Autobuild
70+
uses: github/codeql-action/autobuild@v3
7171

72-
# If the Autobuild fails above, remove it and uncomment the following three lines.
73-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
72+
# ℹ️ Command-line programs to run using the OS shell.
73+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
7474

75-
# - run: |
76-
# echo "Run, Build Application using script"
77-
# ./location_of_script_within_repo/buildscript.sh
75+
# If the Autobuild fails above, remove it and uncomment the following
76+
# three lines. Modify them (or add more) to build your code if your
77+
# project, please refer to the EXAMPLE below for guidance.
7878

79-
- name: Perform CodeQL Analysis
80-
uses: github/codeql-action/analyze@v3
81-
with:
82-
category: '/language:${{matrix.language}}'
79+
# - run: |
80+
# echo "Run, Build Application using script"
81+
# ./location_of_script_within_repo/buildscript.sh
82+
83+
- name: Perform CodeQL Analysis
84+
uses: github/codeql-action/analyze@v3
85+
with:
86+
category: '/language:${{matrix.language}}'

.github/workflows/mediasoup-rust.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ jobs:
5252
env:
5353
DOCS_RS: '1'
5454
RUSTDOCFLAGS: '-D rustdoc::broken-intra-doc-links -D rustdoc::private_intra_doc_links'
55-

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# NOTE: This file and .prettierignore must contain same paths.
2+
13
/.cache
24
/art
35
/coverage
@@ -16,3 +18,4 @@
1618
/worker/subprojects
1719
/worker/test
1820
/worker/out
21+
/NO_GIT

0 commit comments

Comments
 (0)