add css linter

This commit is contained in:
2026-07-20 22:47:37 +07:00
parent 301cfcd61b
commit c314e4f329
11 changed files with 1556 additions and 41 deletions
+17
View File
@@ -0,0 +1,17 @@
export default {
extends: [
'stylelint-config-standard-scss', // Базовые правила для SCSS и CSS
],
// Добавляем поддержку Vue файлов
overrides: [
{
files: ['**/*.vue'],
customSyntax: 'postcss-html',
},
],
rules: {
// Здесь можно переопределить правила
'order/properties-alphabetical-order': true, // Сортировка свойств
// 'selector-class-pattern': '^[a-z][a-zA-Z0-9]+$', // Названия классов в camelCase
},
};