Skip to content

Commit a5b9c6e

Browse files
CLOUDP-286235: eslint fix
1 parent c1ccf1e commit a5b9c6e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/code-health-tools.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ jobs:
9292
- name: Run Prettier
9393
run: |
9494
npm run format-check
95-
- name: Run ESLint for /tools
95+
- name: Run ESLint on JS files
9696
run: |
97-
npm run lint-tools
97+
npm run lint-js
9898
9999
e2e-tests:
100100
needs: build

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ export default [
1111
sourceType: 'module',
1212
},
1313
},
14+
{
15+
ignores: ['node-modules'],
16+
},
1417
];

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"scripts": {
55
"format": "npx prettier . --write",
66
"format-check": "npx prettier . --check",
7-
"lint-tools": "npx eslint tools"
7+
"lint-js": "npx eslint **/*.js"
88
},
99
"dependencies": {
1010
"openapi-to-postmanv2": "4.24.0"

0 commit comments

Comments
 (0)