Add efficient build workflow with npm scripts for translations, CSS/JS processing, and automated release
This commit is contained in:
45
.stylelintrc.js
Normal file
45
.stylelintrc.js
Normal file
@ -0,0 +1,45 @@
|
||||
module.exports = {
|
||||
extends: [
|
||||
'stylelint-config-standard-scss',
|
||||
],
|
||||
rules: {
|
||||
// WordPress-specific CSS rules
|
||||
'selector-class-pattern': null, // Allow WordPress class naming convention
|
||||
'no-descending-specificity': null,
|
||||
'at-rule-no-unknown': [
|
||||
true,
|
||||
{
|
||||
ignoreAtRules: [
|
||||
'extend',
|
||||
'at-root',
|
||||
'debug',
|
||||
'warn',
|
||||
'error',
|
||||
'if',
|
||||
'else',
|
||||
'for',
|
||||
'each',
|
||||
'while',
|
||||
'mixin',
|
||||
'include',
|
||||
'content',
|
||||
'return',
|
||||
'function',
|
||||
'tailwind',
|
||||
'apply',
|
||||
'responsive',
|
||||
'variants',
|
||||
'screen',
|
||||
],
|
||||
},
|
||||
],
|
||||
// Other customizations
|
||||
'string-quotes': 'single',
|
||||
'declaration-block-trailing-semicolon': 'always',
|
||||
},
|
||||
ignoreFiles: [
|
||||
'dist/**/*.css',
|
||||
'node_modules/**/*',
|
||||
'vendor/**/*',
|
||||
],
|
||||
};
|
Reference in New Issue
Block a user