Skip to content

Commit

Permalink
Bump super-linter/super-linter from 6 to 7 (#67)
Browse files Browse the repository at this point in the history
* Bump super-linter/super-linter from 6 to 7

Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 6 to 7.
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md)
- [Commits](super-linter/super-linter@v6...v7)

---
updated-dependencies:
- dependency-name: super-linter/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix linting

* fixing markdown issues

* fix the readme.md

* fix formating

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Lapao <[email protected]>
  • Loading branch information
dependabot[bot] and cjlapao authored Aug 20, 2024
1 parent 06b8a94 commit fdfba88
Show file tree
Hide file tree
Showing 29 changed files with 10,782 additions and 10,629 deletions.
44 changes: 22 additions & 22 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ globals:
SharedArrayBuffer: readonly

ignorePatterns:
- "!.*"
- "**/node_modules/.*"
- "**/dist/.*"
- "**/coverage/.*"
- "**/__tests__/.*"
- "*.json"
- '!.*'
- '**/node_modules/.*'
- '**/dist/.*'
- '**/coverage/.*'
- '**/__tests__/.*'
- '*.json'
- /src/index.ts

parser: "@typescript-eslint/parser"
parser: '@typescript-eslint/parser'

parserOptions:
ecmaVersion: 2023
sourceType: module
requireConfigFile: false
project: "tsconfig.eslint.json"
project: 'tsconfig.eslint.json'
babelOptions:
babelrc: false
configFile: false
Expand All @@ -32,7 +32,7 @@ parserOptions:

plugins:
- jest
- "@typescript-eslint/eslint-plugin"
- '@typescript-eslint/eslint-plugin'

extends:
- eslint:recommended
Expand All @@ -42,16 +42,16 @@ extends:
- plugin:@typescript-eslint/recommended

rules:
"camelcase": 0
"eslint-comments/no-use": 0
"eslint-comments/no-unused-disable": 0
"i18n-text/no-en": 0
"import/no-commonjs": 0
"import/no-namespace": 0
"no-console": 0
"no-unused-vars": 0
"prettier/prettier": 2
"semi": 0
"@typescript-eslint/space-before-function-paren": 0
"no-shadow": 0
"@typescript-eslint/restrict-template-expressions": 0
'camelcase': 0
'eslint-comments/no-use': 0
'eslint-comments/no-unused-disable': 0
'i18n-text/no-en': 0
'import/no-commonjs': 0
'import/no-namespace': 0
'no-console': 0
'no-unused-vars': 0
'prettier/prettier': 2
'semi': 0
'@typescript-eslint/space-before-function-paren': 0
'no-shadow': 0
'@typescript-eslint/restrict-template-expressions': 0
38 changes: 19 additions & 19 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
nationality, personal appearance, race, religion, or sexual identity and
orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
Expand All @@ -22,17 +22,17 @@ community include:
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the
overall community
- Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

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

Expand Down Expand Up @@ -60,8 +60,8 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[cjlapao@gmail.com](cjlapao@gmail.com).
All complaints will be reviewed and investigated promptly and fairly.
[support@parallels.com](support@parallels.com). All complaints will be reviewed
and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
Expand All @@ -82,15 +82,15 @@ behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.
**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

Expand All @@ -106,20 +106,20 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

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

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

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

## Describe the bug
Expand Down
18 changes: 8 additions & 10 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated
when [...]
**Is your feature request related to a problem? Please describe.** A clear and
concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe the solution you'd like** A clear and concise description of what you
want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Describe alternatives you've considered** A clear and concise description of
any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
**Additional context** Add any other context or screenshots about the feature
request here.
42 changes: 21 additions & 21 deletions .github/linters/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ globals:
SharedArrayBuffer: readonly

ignorePatterns:
- "!.*"
- "**/node_modules/.*"
- "**/dist/.*"
- "**/coverage/.*"
- "**/__tests__/.*"
- "*.json"
- '!.*'
- '**/node_modules/.*'
- '**/dist/.*'
- '**/coverage/.*'
- '**/__tests__/.*'
- '*.json'
- /src/index.ts

parser: "@typescript-eslint/parser"
parser: '@typescript-eslint/parser'

parserOptions:
ecmaVersion: 2023
sourceType: module
requireConfigFile: false
project: "tsconfig.eslint.json"
project: 'tsconfig.eslint.json'
babelOptions:
babelrc: false
configFile: false
Expand All @@ -41,16 +41,16 @@ extends:
- plugin:@typescript-eslint/recommended

rules:
"camelcase": "off"
"eslint-comments/no-use": "off"
"eslint-comments/no-unused-disable": "off"
"i18n-text/no-en": "off"
"import/no-commonjs": "off"
"import/no-namespace": "off"
"no-console": "off"
"no-unused-vars": "off"
"prettier/prettier": "error"
"semi": "off"
"@typescript-eslint/space-before-function-paren": "off"
"no-shadow": "off"
"@typescript-eslint/restrict-template-expressions": "off"
'camelcase': 'off'
'eslint-comments/no-use': 'off'
'eslint-comments/no-unused-disable': 'off'
'i18n-text/no-en': 'off'
'import/no-commonjs': 'off'
'import/no-namespace': 'off'
'no-console': 'off'
'no-unused-vars': 'off'
'prettier/prettier': 'error'
'semi': 'off'
'@typescript-eslint/space-before-function-paren': 'off'
'no-shadow': 'off'
'@typescript-eslint/restrict-template-expressions': 'off'
9 changes: 5 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Description

Please include a summary of the change and which issue is fixed. Please also
include relevant motivation and context. List any dependencies that are required
for this change.
include relevant motivation and context.

List any dependencies that are required for this change.

Fixes # (issue)

Expand All @@ -13,8 +14,8 @@ Please delete options that are not relevant.
- [ ] Documentation Change
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality
to not work as expected)
- [ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
- [ ] This change requires a documentation update
- [ ] Update Packages

Expand Down
5 changes: 3 additions & 2 deletions .github/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@

## Reporting a Vulnerability

to report a vulnerability please contact [[email protected]]([email protected]) or
if you can please raise a pr with the fix for approval
to report a vulnerability please contact
[[email protected]]([email protected]) or if you can please raise a pr
with the fix for approval
4 changes: 3 additions & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ permissions:

jobs:
check-dist:
if: github.event_name == 'pull_request' && !contains(github.head_ref, 'release/')
if:
github.event_name == 'pull_request' && !contains(github.head_ref,
'release/')
name: Check dist directory
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Lint Codebase
id: super-linter
uses: super-linter/super-linter/slim@v6
uses: super-linter/super-linter/slim@v7
env:
DEFAULT_BRANCH: main
FILTER_REGEX_EXCLUDE: dist/**/*
Expand Down
16 changes: 8 additions & 8 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{

Check warning on line 1 in .markdownlint.json

View workflow job for this annotation

GitHub Actions / Lint Codebase

File ignored by default.
"no-duplicate-heading": {
"siblings_only": true
},
"line-length": {
"line_length": 80,
"tables": false
}
}
"no-duplicate-heading": {
"siblings_only": true
},
"line-length": {
"line_length": 80,
"tables": false
}
}
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{

Check warning on line 1 in .prettierrc.json

View workflow job for this annotation

GitHub Actions / Lint Codebase

File ignored by default.
"printWidth": 120,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
Expand Down
60 changes: 31 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,35 @@ jobs:
parallels-desktop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pull From Catalog
id: pull
uses: parallels/parallels-desktop-github-action@v1
with:
operation: 'pull'
username: ${{ secrets.PARALLELS_USERNAME }}
password: ${{ secrets.PARALLELS_PASSWORD }}
host_url: devops.example.com
base_image: root:${{ secrets.CATALOG_ROOT_PASSWORD}}@catalog.example.com/mac-github-runner/v1
- name: Configure Github Runner
uses: parallels/parallels-desktop-github-action@v1
with:
operation: 'run'
username: ${{ secrets.PARALLELS_USERNAME }}
password: ${{ secrets.PARALLELS_PASSWORD }}
host_url: devops.example.com
machine_name: ${{ steps.pull.outputs.machine_name }}
run: |
echo "Hello, World!"
- name: Delete VM
if: always()
uses: parallels/parallels-desktop-github-action@v1
with:
operation: 'delete'
username: ${{ secrets.PARALLELS_USERNAME }}
password: ${{ secrets.PARALLELS_PASSWORD }}
host_url: devops.example.com
machine_name: ${{ steps.pull.outputs.machine_name }}
- uses: actions/checkout@v2
- name: Pull From Catalog
id: pull
uses: parallels/parallels-desktop-github-action@v1
with:
operation: 'pull'
username: ${{ secrets.PARALLELS_USERNAME }}
password: ${{ secrets.PARALLELS_PASSWORD }}
host_url: devops.example.com
base_image:
root:${{
secrets.CATALOG_ROOT_PASSWORD}}@catalog.example.com/mac-github-runner/v1
- name: Configure Github Runner
uses: parallels/parallels-desktop-github-action@v1
with:
operation: 'run'
username: ${{ secrets.PARALLELS_USERNAME }}
password: ${{ secrets.PARALLELS_PASSWORD }}
host_url: devops.example.com
machine_name: ${{ steps.pull.outputs.machine_name }}
run: |
echo "Hello, World!"
- name: Delete VM
if: always()
uses: parallels/parallels-desktop-github-action@v1
with:
operation: 'delete'
username: ${{ secrets.PARALLELS_USERNAME }}
password: ${{ secrets.PARALLELS_PASSWORD }}
host_url: devops.example.com
machine_name: ${{ steps.pull.outputs.machine_name }}
```
Loading

0 comments on commit fdfba88

Please sign in to comment.