@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
@cuzom/stylelint-config
Stylelint settings: the standard rules, Vue single-file components, and values t...
367
0
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 | |
| 2.1.1 | ISC | |
| 2.1.0 | ISC | |
| 2.0.0 | ISC | |
| 1.1.1 | ISC | |
| 1.1.0 | ISC | |
| 1.0.3 | ISC | |
| 1.0.2 | ISC | |
| 1.0.1 | ISC | |
| 1.0.0 | ISC | |
| 0.0.2 | ISC | |
| 0.0.1 | ISC |