Skip to content

Commit e425106

Browse files
authored
Merge pull request #142 from trojs/feature/trojs-lint
Use the TroJS lint rules
2 parents e29819b + 4b38065 commit e425106

Some content is hidden

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

48 files changed

+2570
-7611
lines changed

.github/workflows/cpd.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Use Node.js 20
12+
- name: Use Node.js 22
1313
uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version: 22
1616
cache: 'npm'
1717
- name: npm cpd
1818
run: |

.github/workflows/dependabot.yml

-18
This file was deleted.

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Use Node.js 20
12+
- name: Use Node.js 22
1313
uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version: 22
1616
cache: 'npm'
1717
- name: npm lint
1818
run: |

.github/workflows/npm-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 20
17+
node-version: 22
1818
- run: npm ci
1919
- run: npm test
2020

@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 20
28+
node-version: 22
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm ci
3131
- run: npm run build --if-present

.github/workflows/sonarcloud.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Use Node.js 20
12+
- name: Use Node.js 22
1313
uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version: 22
1616
cache: 'npm'
1717
- name: npm install, lint, and test
1818
run: |

.github/workflows/vulnerabilities.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Use Node.js 20
12+
- name: Use Node.js 22
1313
uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version: 22
1616
cache: 'npm'
1717
- name: npm vulnerabilities
1818
run: |

.vscode/launch.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Test current file",
8+
"runtimeExecutable": "node",
9+
"runtimeArgs": [
10+
"--test",
11+
"${file}"
12+
],
13+
"cwd": "${workspaceRoot}",
14+
"autoAttachChildProcesses": true,
15+
"restart": true,
16+
"sourceMaps": true,
17+
"stopOnEntry": false,
18+
"console": "integratedTerminal"
19+
}
20+
]
21+
}

coverage/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)