Skip to content

Commit 1f22517

Browse files
committed
avoid testing definition files
1 parent f5acd46 commit 1f22517

11 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/runEslint.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { exec } from 'node:child_process';
2-
const eslintCommand = 'eslint --config eslint.config.js --exit-on-fatal-error ./samples/*.ts';
2+
const eslintCommand = 'eslint --config eslint.config.js --exit-on-fatal-error ./samples/*.test.ts';
33
console.log(`Running ${eslintCommand} ...`);
44
try {
55
exec(eslintCommand, (error, stdout, stderr) => {

test/runEslint.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { exec } from 'node:child_process'
22

3-
const eslintCommand = 'eslint --config eslint.config.js --exit-on-fatal-error ./samples/*.ts'
3+
const eslintCommand = 'eslint --config eslint.config.js --exit-on-fatal-error ./samples/*.test.ts'
44

55
console.log(`Running ${eslintCommand} ...`)
66

0 commit comments

Comments
 (0)