Skip to content

Commit f07e3c5

Browse files
committed
Ignore new ESLint-related files in validate-pr script
1 parent d14841c commit f07e3c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/validate-pr/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ async function run() {
9090
if (file.startsWith('specification/_spec_utils')) continue
9191
if (file.startsWith('specification/_doc_ids')) continue
9292
if (file.startsWith('specification/_json_spec')) continue
93+
if (file.startsWith('specification/node_modules')) continue
9394
if (file === 'specification/tsconfig.json') continue
95+
if (file === 'specification/eslint.config.js') continue
96+
if (file === 'specification/package.json') continue
97+
if (file === 'specification/package-lock.json') continue
9498
if (getApi(file).endsWith('_types')) {
9599
const apis = specification.endpoints
96100
.filter(endpoint => endpoint.name.split('.').filter(s => !privateNames.includes(s))[0] === getApi(file).split('.')[0])

0 commit comments

Comments
 (0)