Skip to content

Commit 813cfc9

Browse files
committed
chore: update license info
Signed-off-by: Rifa Achrinza <[email protected]>
1 parent 17f860a commit 813cfc9

29 files changed

+143
-46
lines changed

.eslintignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
vendors
1+
# SPDX-FileCopyrightText: LoopBack Contributors
2+
# SPDX-License-Identifier: MIT
3+
4+
vendors

.eslintrc.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// Copyright IBM Corp. 2022. All Rights Reserved.
2-
// This file is licensed under the MIT License.
3-
// License text available at https://opensource.org/licenses/MIT
1+
// SPDX-FileCopyrightText: LoopBack Contributors
2+
// SPDX-License-Identifier: MIT
43

54
module.exports = {
65
extends: '@loopback/eslint-config',

.github/workflows/ci.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: LoopBack Contributors
2+
# SPDX-License-Identifier: MIT
3+
14
name: CI
25
on:
36
push:
@@ -21,10 +24,12 @@ jobs:
2124
npm run-script --ignore-scripts install
2225
- name: Build project
2326
run: npm run --ignore-scripts build
24-
- name: Run code lint
27+
- name: Code lint check
2528
run: |
2629
npm run-script --ignore-scripts prettier:check
2730
npm run-script --ignore-scripts validate-csaf20
31+
- name: REUSE compliance check
32+
uses: fsfe/reuse-action@43bd643263f2a557a37e023e538ab9f83dce92a6 #v1.1.1
2833
commit-lint:
2934
name: Commit Lint
3035
if: github.event.pull_request
@@ -36,7 +41,7 @@ jobs:
3641
- uses: actions/setup-node@v2
3742
with:
3843
node-version: 16
39-
- name: Install tools
44+
- name: Install dependencies
4045
run: npm ci --ignore-scripts
41-
- name: Run commit lint
46+
- name: Commit lint check
4247
run: npx --no-install commitlint --from=origin/main --to=HEAD --verbose

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: LoopBack Contributors
2+
# SPDX-License-Identifier: MIT
3+
14
# Logs
25
logs
36
*.log

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: LoopBack Contributors
2+
# SPDX-License-Identifier: MIT
3+
14
[submodule "vendors/secvisogram"]
25
path = vendors/secvisogram
36
url = [email protected]:BSI-Bund/secvisogram.git

.husky/commit-msg

100644100755
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
2+
# SPDX-FileCopyrightText: LoopBack Contributors
3+
# SPDX-License-Identifier: MIT
4+
25
. "$(dirname "$0")/_/husky.sh"
36

47
npx --no-install commitlint --edit "$1"

.husky/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
2+
# SPDX-FileCopyrightText: LoopBack Contributors
3+
# SPDX-License-Identifier: MIT
4+
25
. "$(dirname "$0")/_/husky.sh"
36

47
npm run-script prettier:check

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# SPDX-FileCopyrightText: LoopBack Contributors
2+
# SPDX-License-Identifier: MIT
3+
14
vendors
5+
!vendors/README.md

.prettierrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

.prettierrc.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# SPDX-FileCopyrightText: LoopBack Contributors
2+
# SPDX-License-Identifier: MIT
3+
4+
bracketSpacing: false
5+
singleQuote: true
6+
printWidth: 80
7+
trailingComma: all
8+
arrowParens: avoid
9+
overrides:
10+
- files: '**/*.md'
11+
options:
12+
parser: markdown
13+
proseWrap: always

0 commit comments

Comments
 (0)