Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Tidy up node & config files including excepting them from import/no-nodejs-modules #83691

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

ryan953
Copy link
Member

@ryan953 ryan953 commented Jan 18, 2025

No description provided.

@ryan953 ryan953 requested review from a team as code owners January 18, 2025 00:38
@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Jan 18, 2025
Copy link
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

for (const [k, v] of Object.entries(dict)) {
res.push(`${k}: ${v}`);
}
return res.join('\n');
}

function bundle(originalFile) {
const root = yaml.safeLoad(fs.readFileSync(originalFile, 'utf8'));
const root = yaml.load(fs.readFileSync(originalFile, 'utf8'));
Copy link
Member

@scttcper scttcper Jan 18, 2025

Choose a reason for hiding this comment

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

i don't think the types we have installed match the version of js-yaml we're using

Copy link
Member Author

Choose a reason for hiding this comment

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

i rolled back the safeload->load change, and some of the ts-ignores went away too.

@ryan953 ryan953 merged commit 7f04b93 into master Jan 21, 2025
53 checks passed
@ryan953 ryan953 deleted the ryan953/eslint-no-nodejs-modules branch January 21, 2025 18:34
andrewshie-sentry pushed a commit that referenced this pull request Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants