Prettier shareable configuration for Alibaba F2E Guidelines. Version 1.5.0 requires Node.js >=20.8.0 and is ESM-only. It enforces the formatting rules defined by the Alibaba Front-End Specification. Unlike generic Prettier configs like @company/prettier-config, this is tailored specifically for Alibaba's internal coding style. The package ships TypeScript type definitions and is part of the f2e-spec monorepo. It is a simple configuration object with no runtime dependencies.
npm install prettier-config-aliVerified import paths — ran on the pinned version, not inferred.
Shows how to install and configure prettier-config-ali via package.json.
Use import/export syntax and set package type to module or use dynamic import().
Upgrade Node.js to 20.8.0 or higher.
Use f2elint to scaffold project and enable Prettier automatically.
Use import/export syntax or dynamic import(). Change to ESM by adding 'type': 'module' to package.json.
Run 'npm install --save-dev prettier prettier-config-ali'.
No dependency data recorded yet.