@tresinternet/stylelint-config-vue3

Default settings for Stylelint for a Vue3 project
2,158
Install
npm install @tresinternet/stylelint-config-vue3
Latest Version:3.1.0
License:ISC
Last Updated:Jul 28, 2026
Links: npm
Maintainer: rolandvanommeren

@tresinternet/stylelint-config-vue3

This package contains the Stylelint configuration for Vue3-projects developed by TRES internet.

Installation

npm install @tresinternet/stylelint-config-vue3 --save-dev

All required packages are installed automatically

Usage

Stylelint config file

Create a stylelint.config.mjs-file with the following contents:

/** @type {import('stylelint').Config} */
export default {
	extends: ['@tresinternet/stylelint-config-vue3'],
	rules: {
	},
}

See https://stylelint.io/user-guide/get-started for more information.

Vue-files / VS Code

Use these settings in your project located in <project>/.vscode/settings.json:

{
	...
	"css.validate": false,
	"less.validate": false,
	"scss.validate": false,
	"stylelint.validate": [
		"css",
		"scss",
		"vue"
	]
}

As seperate task

Add the following command to the scripts-section of your package.json-file:

"stylelint": "stylelint \"src/**/*.{css,scss,vue}\"",
"stylelint-fix": "stylelint \"src/**/*.{css,scss,vue}\" --fix"

Rules

Rules are subject to change, depending on developer preferences.

Related Packages

@taknepoidet-config/stylelint

Конфигурация Stylelint

894 0
stylelint-config-recommended-vue

The recommended shareable Vue config for Stylelint.

21,627,957 108
stylelint-config-standard-vue

The standard shareable Vue config for Stylelint.

5,099,255 27
@cuzom/stylelint-config

Stylelint settings: the standard rules, Vue single-file components, and values t...

367 0
stylelint-config-html

The shareable HTML config for Stylelint.

26,955,176 90

Version History

Version Released License
3.1.0 ISC
3.0.1 ISC
3.0.0 ISC
2.4.0 ISC
2.2.0 ISC