
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@culur/config-stylelint
Advanced tools
@culur/config-stylelintSharing Stylelint configurations.
The library is a shareable Stylelint configuration. It has some key features as follows:
The configuration will check if the following packages are installed and their versions to change plugins and rules.
| Environment | Packages | Support versions |
|---|---|---|
| Tailwind | tailwindcss | 0, 1, 2, 3, 4 |
| SCSS | sass or dart-sass or node-sass | - |
| Vue | vue | - |
stylelint-config-standard - The standard shareable config for Stylelint.stylelint-config-standard-scss - The standard shareable SCSS config for Stylelint.stylelint-config-standard-vue - The recommended shareable Vue config for Stylelint.stylelint-config-html - The shareable HTML config for Stylelint.stylelint-config-clean-order - A clean and complete config for stylelint-order.stylelint-order - A plugin pack of order related linting rules for stylelint.stylelint-scss - A collection of SCSS specific linting rules for stylelint.stylelint-selector-bem-pattern - Stylelint plugin that incorporates postcss-bem-linterTailwind, SCSS and Vue.Add @culur/config-stylelint dependency to your project.
# Using npm
npm install @culur/config-stylelint --save-dev
# Using pnpm
pnpm install @culur/config-stylelint --dev
# Using yarn
yarn add @culur/config-stylelint --dev
Other packages:
stylelint package in devDependencies.Set your .stylelintrc.json to:
{
"extends": ["@culur/config-stylelint"]
}
Below are also some pre-built configs to use.
| Config | Tailwind | Sass | Vue |
|---|---|---|---|
@culur/config-stylelint | auto | auto | auto |
@culur/config-stylelint/auto | auto | auto | auto |
@culur/config-stylelint/none | |||
@culur/config-stylelint/sass-vue | true | true | |
@culur/config-stylelint/sass | true | ||
@culur/config-stylelint/tailwind3-sass-vue | 3 | true | true |
@culur/config-stylelint/tailwind3-sass | 3 | true | |
@culur/config-stylelint/tailwind3 | 3 | ||
@culur/config-stylelint/tailwind4-vue | 4 | true | |
@culur/config-stylelint/tailwind4 | 4 | ||
@culur/config-stylelint/vue | true |
You can also define which environments are enabled via the defineConfig function.
// .stylelintrc.mjs
import { defineConfig } from '@culur/config-stylelint/factory';
export default defineConfig(
{
tailwind: 4,
sass: false,
vue: false,
},
{
extends: [],
plugins: [],
rules: {},
},
);
Note: When using defineConfig function, you must install stylelint-config-* and plugins dependencies to your project.
Stylelint use .stylelintignore file to ignore specific files. You can use the following command to copy our default .stylelintignore to your project root folder:
# unix
cp "node_modules\@culur\config-stylelint\.stylelintignore" ".stylelintignore"
# windows
copy "node_modules\@culur\config-stylelint\.stylelintignore" ".stylelintignore"
Some commonly used scripts in package.json.
{
"scripts": {
"fix:css": "stylelint '**/*.{vue,tsx,css,scss}' --allow-empty-input --fix",
"lint:css": "stylelint '**/*.{vue,tsx,css,scss}' --allow-empty-input"
}
}
See CHANGELOG for more information on what has changed recently.
See LICENSE for license rights and limitations (MIT).
FAQs
Culur's stylelint configuration
We found that @culur/config-stylelint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.