Skip to content

Commit

Permalink
Merge pull request #143 from trojs/feature/trojs-linter
Browse files Browse the repository at this point in the history
Use the TroJS lint rules
  • Loading branch information
w3nl authored Mar 3, 2025
2 parents 45600d6 + e4283db commit c435ed9
Show file tree
Hide file tree
Showing 12 changed files with 1,374 additions and 6,483 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- run: npm ci
- run: npm run vulnerabilities
- run: npm run lint
Expand All @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: https://registry.npmjs.org/
- run: npm ci --production
- run: npm publish --access public
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
Expand Down
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Test current file",
"runtimeExecutable": "node",
"runtimeArgs": [
"--test",
"${file}"
],
"cwd": "${workspaceRoot}",
"autoAttachChildProcesses": true,
"restart": true,
"sourceMaps": true,
"stopOnEntry": false,
"console": "integratedTerminal"
}
]
}
Empty file added coverage/.gitkeep
Empty file.
Loading

0 comments on commit c435ed9

Please sign in to comment.