You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: apply lint formatting to scripts and hooks folders (#3669)
* refactor: rename script files to kebab-case convention
Renames files from underscore to hyphen naming:
- scripts/postrelease/install_scripts.js → install-scripts.js
- scripts/utils/_version.js → version.js
This aligns with the project's file naming standards.
* refactor: apply lint formatting to scripts and hooks folders
Applies ESLint formatting fixes to scripts and hooks folders:
- Reorder imports to follow style guide (node: prefixed imports first, then external, then internal)
- Use node: prefix for Node.js built-in modules (node:path, node:child_process, etc.)
- Change from `import * as` to default imports where appropriate
- Add proper error handling with try-catch blocks in postrelease scripts
- Remove unnecessary semicolons and apply consistent formatting
This brings the scripts and hooks folders in line with the shared ESLint configuration.
0 commit comments