Skip to content

chore: update eslint setup, sync boilerplate changes and move to ESM#266

Open
erik-slovak wants to merge 3 commits into
mainfrom
esl/eslint-update
Open

chore: update eslint setup, sync boilerplate changes and move to ESM#266
erik-slovak wants to merge 3 commits into
mainfrom
esl/eslint-update

Conversation

@erik-slovak
Copy link
Copy Markdown
Member

@erik-slovak erik-slovak commented Feb 7, 2025

Fixes TSD-3

const logArg = node.arguments[0]
if (logArg != null && logArg.type === 'Literal' && typeof logArg.value === 'string') {
const { arguments: [logArg] } = node
if (logArg.type === 'Literal' && typeof logArg.value === 'string') {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why null check was removed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants