f7cloud_client/apps/mail/stylelint.config.js
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

35 lines
746 B
JavaScript

/**
* SPDX-FileCopyrightText: 2025 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
module.exports = {
extends: '@f7cloud/stylelint-config',
plugins: ['stylelint-use-logical'],
// TODO: Remove this when the F7cloud stylelint config is updated to include this rule (planned)
rules: {
'csstools/use-logical': [
'always',
{
severity: 'error',
// Only lint LTR-RTL properties for now
except: [
// Position properties
'top',
'bottom',
// Position properties with directional suffixes
/-top$/,
/-bottom$/,
// Size properties
'width',
'max-width',
'min-width',
'height',
'max-height',
'min-height',
],
},
],
},
}