Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cli/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ export default defineConfig([
}
],
'no-await-in-loop': 'off',
radix: 'off'
radix: 'off',
'@eslint-community/eslint-comments/require-description': 'off',
'require-atomic-updates': 'off'
}
}
]);
1 change: 1 addition & 0 deletions cli/src/services/modules/sputnik.services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
}> => {
try {
const mjs = readFileSync(DEV_SPUTNIK_MJS_FILE_PATH, 'utf-8');
// eslint-disable-next line prefer-named-capture-group, require-unicode-regexp
const banner = /^\/\/\s*@juno:package\s+({.*})/.exec(mjs);

Check failure on line 61 in cli/src/services/modules/sputnik.services.ts

View workflow job for this annotation

GitHub Actions / lint

Use the 'v' flag

Check failure on line 61 in cli/src/services/modules/sputnik.services.ts

View workflow job for this annotation

GitHub Actions / lint

Capture group '({.*})' should be converted to a named or non-capturing group

if (isNullish(banner)) {
return {
Expand Down
1 change: 1 addition & 0 deletions cli/src/types/pocket-ic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as z from 'zod';

const zNullable = <T extends z.ZodTypeAny>(schema: T) => schema.nullish();

// eslint-disable-next-line require-unicode-regexp
const socketAddrRegex = /^(?:\[?[A-Fa-f0-9:.]+\]?|\d{1,3}(?:\.\d{1,3}){3}):\d{1,5}$/;

const SocketAddrSchema = z.string().regex(socketAddrRegex, {
Expand Down
Loading