Skip to content

Commit

Permalink
chore: Formater le code avec Prettier.
Browse files Browse the repository at this point in the history
  • Loading branch information
regseb committed Mar 17, 2023
1 parent e812ed8 commit 9683f49
Show file tree
Hide file tree
Showing 404 changed files with 26,045 additions and 22,131 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://editorconfig.org/
root = true

[*]
charset = utf-8
insert_final_newline = true
end_of_line = lf
indent_style = space
indent_size = 2
max_line_length = 80

[*.js]
indent_size = 4
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Bug report
about: Create a report to help us improve.
title: ''
title: ""
labels: bug
assignees: ''

assignees: ""
---

### Describe the bug
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Discussion
url: https://github.com/regseb/castkodi/discussions
about: Ask a question.
- name: Discussion
url: https://github.com/regseb/castkodi/discussions
about: Ask a question.
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project.
title: ''
title: ""
labels: enhancement
assignees: ''

assignees: ""
---

### Describe the problem
Expand Down
108 changes: 54 additions & 54 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,71 +3,71 @@ on:
push:
pull_request:
schedule:
- cron: '3 4 * * 5'
- cron: "3 4 * * 5"

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install dependencies
run: npm install
- name: Install dependencies
run: npm install

- name: Lint files
run: npm run lint -- --formatter github
- name: Lint files
run: npm run lint -- --formatter github

test:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install dependencies
run: npm install
- name: Install dependencies
run: npm install

- name: Run unit tests
run: npm run test:unit
- name: Run unit tests
run: npm run test:unit

- name: Run integration tests
run: COUNTRY=us npm run test:integration
if: always()
- name: Run integration tests
run: COUNTRY=us npm run test:integration
if: always()

coverage:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install dependencies
run: npm install
- name: Install dependencies
run: npm install

- name: Run mutation tests and send coverage
run: npm run test:coverage -- --reporters clear-text,dashboard
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
- name: Run mutation tests and send coverage
run: npm run test:coverage -- --reporters clear-text,dashboard
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

analyze:
runs-on: ubuntu-latest
Expand All @@ -77,15 +77,15 @@ jobs:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'javascript'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "javascript"

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Loading

0 comments on commit 9683f49

Please sign in to comment.