{"id":41107,"library":"fis3-postprocessor-stylefmt","title":"fis3-postprocessor-stylefmt","description":"A CSS formatter plugin for fis3 build tool, based on stylefmt. Version 2.0.0 is stable. It formats CSS, SCSS, Less, and SSS files within fis3 pipelines. Use it as a postprocessor in fis3 configuration. The package has low maintenance cadence as stylefmt is deprecated in favor of stylelint. Key differentiator: integrates stylefmt directly into fis3 builds, simplifying formatting setup.","status":"active","version":"2.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/fisker/fis3-plugins/tree/master/packages/fis3-postprocessor-stylefmt","tags":["javascript","fis","fis3","fis3-postprocessor-stylefmt","postprocessor","stylefmt"],"install":[{"cmd":"npm install fis3-postprocessor-stylefmt","lang":"bash","label":"npm"},{"cmd":"yarn add fis3-postprocessor-stylefmt","lang":"bash","label":"yarn"},{"cmd":"pnpm add fis3-postprocessor-stylefmt","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core formatting engine for CSS files","package":"stylefmt","optional":false},{"reason":"Required build tool; plugin runs inside fis3 pipeline","package":"fis3","optional":false}],"imports":[{"note":"The plugin is registered as a fis3 plugin, not directly required. Call fis.plugin('stylefmt') inside fis-conf.js.","wrong":"require('fis3-postprocessor-stylefmt')","symbol":"plugin","correct":"fis.plugin('stylefmt')"}],"quickstart":{"code":"// Install globally\nnpm install --global fis3-postprocessor-stylefmt\n\n// fis-conf.js\nfis.match('*.{css,scss,less,sss}', {\n  postprocessor: fis.plugin('stylefmt')\n});\n\n// Then run: fis3 release\n// The plugin will format CSS files during build.","lang":"javascript","description":"Shows how to install and configure the stylefmt plugin in fis3 to format CSS/SCSS/Less/SSS files during build."},"warnings":[{"fix":"Consider migrating to stylelint with --fix option for CSS formatting.","message":"stylefmt is deprecated in favor of stylelint --fix.","severity":"deprecated","affected_versions":">=2.0.0"},{"fix":"Use npm install --global fis3-postprocessor-stylefmt or npm install --save-dev fis3-postprocessor-stylefmt and ensure it's in node_modules.","message":"The plugin must be installed globally or locally with fis3.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Ensure only one postprocessor is applied per file type to avoid conflicts.","message":"The file extension patterns in fis.match may cause double processing if not careful.","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'2.0.0':17 'base':13 'build':11,60 'cadenc':44 'configur':38 'css':6,22 'deprec':48 'differenti':54 'direct':57 'favor':50 'file':27 'fis':65 'fis3':2,10,29,37,59,66,68 'fis3-postprocessor-stylefmt':1,67 'format':21,62 'formatt':7 'integr':55 'javascript':64 'key':53 'less':24 'low':42 'mainten':43 'packag':40 'pipelin':30 'plugin':8 'postprocessor':3,35,69,71 'scss':23 'setup':63 'simplifi':61 'sss':26 'stabl':19 'stylefmt':4,15,46,56,70,72 'stylelint':52 'tool':12 'use':31 'version':16 'within':28","created_at":"2026-06-04T18:50:48.323662+00:00","updated_at":"2026-06-04T18:50:48.323662+00:00","problems":[{"fix":"Run npm install --global fis3-postprocessor-stylefmt and ensure fis3 can find global modules.","cause":"Plugin not installed or not in global node_modules","error":"Error: Cannot find module 'fis3-postprocessor-stylefmt'"},{"fix":"Ensure the code is inside fis-conf.js and fis3 is required/imported correctly.","cause":"fis3 not properly initialized or used outside of fis-conf.js","error":"TypeError: fis.plugin is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/fisker/fis3-plugins/tree/master/packages/fis3-postprocessor-stylefmt","github":"https://github.com/fisker/fis3-plugins/tree/master/packages/fis3-postprocessor-stylefmt","docs":null,"changelog":null,"pypi":null,"npm":"fis3-postprocessor-stylefmt","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}