Prettier configuration used in Swimlane projects.
npm install --save-dev @swimlane/prettier-config-swimlane prettier@latest
- Create a file named
prettier.config.jswith the following contents:
'use strict';moduleexports = ;
- Add a
prettierscript to package.json:
Adjust the glob pattern as needed to include more file extensions. For example,
npm run prettier will now format a project's files.
prettier-config-swimlane is a Swimlane open-source project; we
believe in giving back to the open-source community by sharing some of the
projects we build.
Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.