Skip to content

Commit

Permalink
Adds linter support to CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dylon committed Nov 20, 2024
1 parent 3a86f33 commit 0d4bf7d
Show file tree
Hide file tree
Showing 15 changed files with 149 additions and 304 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint-sources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint Sources

on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main

jobs:
build:
strategy:
matrix:
# node-version: ['23.x', 'latest']
node-version: ['23.x']

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
43 changes: 0 additions & 43 deletions client/src/test/completion.test.ts

This file was deleted.

41 changes: 0 additions & 41 deletions client/src/test/diagnostics.test.ts

This file was deleted.

47 changes: 0 additions & 47 deletions client/src/test/helper.ts

This file was deleted.

43 changes: 0 additions & 43 deletions client/src/test/index.ts

This file was deleted.

27 changes: 0 additions & 27 deletions client/src/test/runTest.ts

This file was deleted.

Empty file removed client/testFixture/completion.txt
Empty file.
1 change: 0 additions & 1 deletion client/testFixture/diagnostics.txt

This file was deleted.

20 changes: 17 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"esbuild": "^0.24.0",
"eslint": "^9.15.0",
"fast-check": "^3.23.1",
"globals": "^15.12.0",
"mocha": "^10.8.2",
"sinon": "^19.0.2",
"ts-sinon": "^2.0.2",
Expand Down
6 changes: 0 additions & 6 deletions scripts/e2e.sh

This file was deleted.

1 change: 0 additions & 1 deletion server/src/.#lfortran-accessors.ts

This file was deleted.

Loading

0 comments on commit 0d4bf7d

Please sign in to comment.