{"library":"prettier-plugin-sh","type":"library","category":null,"description":"An opinionated shell script formatter for Prettier, extending support to Dockerfile, .properties, .gitignore, .env, hosts, and JVM options files. Current stable version is 0.18.1, maintained actively with minor updates every few months. It leverages mvdan-sh and dockerfmt under the hood, providing a consistent shell formatting experience within Prettier's ecosystem. Unlike standalone shell formatters, it integrates seamlessly with Prettier's plugin system and respects project-wide formatting configuration. Supports Prettier ^3.6.0 and Node 16+. Ships TypeScript definitions.","language":"javascript","status":"active","version":"0.18.1","tags":["javascript","dockerfile","ini","properties","sh","shell","shellscript","plugin","prettier","typescript"],"install":[{"cmd":"npm install prettier-plugin-sh","imports":["// Plugin is auto-loaded by Prettier when listed in .prettierrc\n// No manual import needed in typical usage.\n// If dynamic configuration is needed, use:\nimport plugin from 'prettier-plugin-sh'","import type { ShOptions } from 'prettier-plugin-sh';","import { LangVariant } from 'prettier-plugin-sh';"]},{"cmd":"yarn add prettier-plugin-sh","imports":[]},{"cmd":"pnpm add prettier-plugin-sh","imports":[]}],"homepage":null,"github":"https://github.com/un-ts/prettier","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prettier-plugin-sh","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/prettier-plugin-sh/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}