A Prettier plugin for formatting EsJS code, a Spanish-translated JavaScript dialect. Stable version 0.1.0. It integrates with Prettier 3.x as a plugin, leveraging Prettier's parsing and formatting pipeline. Key differentiator: enables Prettier to format .esjs files natively, supporting EsJS syntax such as keywords in Spanish. Currently in early development with basic formatting support.
npm install prettier-plugin-esjsVerified import paths — ran on the pinned version, not inferred.
Configures Prettier to use the EsJS plugin and formats .esjs files.
Upgrade Prettier to ^3.0.0.
Ensure files have .esjs extension or configure Prettier overrides.
N/A
Install the plugin: npm install -D prettier-plugin-esjs
Add the plugin to .prettierrc: { "plugins": ["prettier-plugin-esjs"] }