Skip to content

Commit e53e821

Browse files
committed
Simplify script
1 parent dd190aa commit e53e821

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import tseslint from 'typescript-eslint';
44
export default tseslint.config([
55
{
66
files: ['**/*.ts', '**/*.(c|m)?js'],
7+
ignores: ['**/dist/**', '**/e2e/**'],
78
extends: [solanaConfig],
89
},
910
{

packages/internals/scripts/lint.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { $, argv } from 'zx';
44
// Lint and format the code.
55
$.stdio = 'inherit';
66
if (argv.fix) {
7-
await $`pnpm eslint --fix "src/**" "test/**" && pnpm prettier --log-level warn --ignore-unknown --write ./*`;
7+
await $`pnpm eslint --fix . && pnpm prettier --log-level warn --ignore-unknown --write ./*`;
88
} else {
9-
await $`pnpm eslint "src/**" "test/**" && pnpm prettier --check .`;
9+
await $`pnpm eslint . && pnpm prettier --check .`;
1010
}

0 commit comments

Comments
 (0)