Socket
Book a DemoInstallSign in
Socket

prettier-plugin-rics

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-rics

Prettier plugin for rics CSS preprocessor

latest
Source
npmnpm
Version
0.3.17
Version published
Maintainers
1
Created
Source

rics

npm version minzipped size downloads

Prettier plugin for formatting rics files.

Installation

npm install prettier-plugin-rics

Usage

Add the plugin to your Prettier configuration:

{
  "plugins": ["prettier-plugin-rics"]
}

Or in .prettierrc.js:

module.exports = {
  plugins: ["prettier-plugin-rics"],
};

Command Line

# Format a single file
prettier --write styles.rics

# Format all rics files
prettier --write "**/*.rics"

# Check formatting
prettier --check "**/*.rics"

Editor Integration

Most editors with Prettier support will automatically format .rics files once the plugin is configured.

VS Code

Install the Prettier extension and add to your workspace settings:

{
  "[rics]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}

Options

Standard Prettier options apply:

OptionDefaultDescription
tabWidth2Spaces per indentation level
useTabsfalseUse tabs instead of spaces
singleQuotefalseUse single quotes for strings

License

MIT

Built by Better Lyrics

Keywords

prettier

FAQs

Package last updated on 22 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts