stylefmt is a tool that automatically formats CSS according to stylelint rules. stylefmt'd code is easier to write. Never worry about minor formatting concerns while hacking away. Easier to read, when all code looks the same you need not mentally convert others' formatting style into something you can understand. Easier to maintain, mechanical changes to the source don't cause unrelated changes to the file's formatting; diffs show only the real changes. Uncontroversial, never have a debate about spacing or brace position ever again! If you are using stylefmt with stylelint configuration to format according to its rules, you can now use stylelint's, fix option (from v7.11.0) to auto fix. On the other hand, prettier supports to format not only JavaScript but also CSS, SCSS, and Less code.

Features

  • Supports the latest CSS syntax
  • Including custom properties, range context for media features, calc() and nesting
  • Understands CSS-like syntaxes
  • Stylefmt is powered by PostCSS, so it understands any syntax that PostCSS can parse, including SCSS
  • Works well with stylelint
  • Stylelint is a mighty, modern CSS linter. stylefmt can understand the formatting rules specified in your stylelint configuration file (.stylelintrc)

Project Samples

Project Activity

See All Activity >

Categories

Spreadsheet

License

MIT License

Follow stylefmt

stylefmt Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of stylefmt!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Spreadsheet Software

Registered

2022-06-22