File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,10 +12,15 @@ jobs:
1212 uses : actions/setup-node@v4
1313 with :
1414 node-version : " 22"
15- - name : Install dependencies
15+ - name : Install Dependencies
1616 run : npm ci
17- - name : Run the linter
18- run : npm run lint
17+ - name : Run Linter
18+ run : npm run lint -- --output-file reports/eslint_report.json --format json
19+ continue-on-error : true
20+ - name : Add Linter Annotations
21+ uses : ataylorme/eslint-annotate-action@v3
22+ with :
23+ report-json : " reports/eslint_report.json"
1924
2025 unit-tests :
2126 runs-on : ubuntu-latest
2833 node-version : " 22"
2934 - name : Install dependencies
3035 run : npm ci
31- - name : Run Tests and Publish Annotations
36+ - name : Run Tests and Add Annotations
3237 run : npm test -- --ci --reporters=default --reporters=github-actions --reporters=jest-junit
3338 env :
3439 CONDUCTOR_SERVER_URL : ${{ vars.SERVER_URL }}
Original file line number Diff line number Diff line change 11import eslint from '@eslint/js' ;
22import tseslint from 'typescript-eslint' ;
3+ import { defineConfig } from "eslint/config" ;
34
4- export default tseslint . config (
5+ export default defineConfig (
56 eslint . configs . recommended ,
67 tseslint . configs . recommended , // to remove
78 //tseslint.configs.strict, // to add
@@ -14,7 +15,7 @@ export default tseslint.config(
1415 } ] , //to remove
1516 '@typescript-eslint/explicit-function-return-type' : 'off' , // to remove
1617 '@typescript-eslint/explicit-module-boundary-types' : 'off' , // to remove
17- '@typescript-eslint/no-explicit-any' : 'off' , // to remove
18+ // '@typescript-eslint/no-explicit-any': 'off', // to remove
1819 '@typescript-eslint/no-wrapper-object-types' : 'off' , // to remove
1920 '@typescript-eslint/no-unsafe-function-type' : 'off' , // to remove
2021 } ,
You can’t perform that action at this time.
0 commit comments