Skip to content

Commit

Permalink
CLOUDP-286235: eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lovisaberggren committed Nov 22, 2024
1 parent c1ccf1e commit a5b9c6e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-health-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ jobs:
- name: Run Prettier
run: |
npm run format-check
- name: Run ESLint for /tools
- name: Run ESLint on JS files
run: |
npm run lint-tools
npm run lint-js
e2e-tests:
needs: build
Expand Down
3 changes: 3 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ export default [
sourceType: 'module',
},
},
{
ignores: ['node-modules'],
},
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"format": "npx prettier . --write",
"format-check": "npx prettier . --check",
"lint-tools": "npx eslint tools"
"lint-js": "npx eslint **/*.js"
},
"dependencies": {
"openapi-to-postmanv2": "4.24.0"
Expand Down

0 comments on commit a5b9c6e

Please sign in to comment.