Prettier shared configuration for City of Sault Ste. Marie projects. Current stable version is 2.1.2, released monthly. It centralizes prettier settings (e.g., endOfLine: 'lf', disable formatting for embedded HTML, SQL support with presets for generic SQL, SQLite, SQL Server). Key differentiator: opinionated configuration tailored to city projects, includes SQL formatting, and ships TypeScript types. Releases are versioned semver with minor features and patches.
npm install prettier-config-cityssmVerified import paths — ran on the pinned version, not inferred.
Install the package and set up prettier.config.js to use the shared configuration.
Review your project's prettier configuration for SQL formatting conflicts. If you don't need SQL presets, ensure your prettier.config.js only extends the base config.
Update to v2 by running `npm install prettier-config-cityssm@latest` and check for breaking changes.
Use `export { default } from 'prettier-config-cityssm'` or `module.exports = require('prettier-config-cityssm')`.If you need HTML formatting in template literals, override the setting in your project's prettier config.
Set `.gitattributes` to `* text=auto eol=lf` to normalize line endings, or override `endOfLine` in your project config.
Run `npm install --save-dev prettier-config-cityssm` and ensure it's a devDependency.
Rename file to .mjs or set `"type": "module"` in package.json. Alternatively, use CJS: `module.exports = require('prettier-config-cityssm')`.Do not invoke it; use it directly as a config object: `export { default } from 'prettier-config-cityssm'`.No dependency data recorded yet.