2022-06-02 02:22:35 +09:00
|
|
|
module.exports = {
|
|
|
|
extends: ['stylelint-config-standard-scss'],
|
|
|
|
ignoreFiles: [
|
|
|
|
'app/javascript/styles/mastodon/reset.scss',
|
2023-02-26 05:28:46 +09:00
|
|
|
'app/javascript/flavours/glitch/styles/reset.scss',
|
|
|
|
'app/javascript/styles/win95.scss',
|
2023-05-12 15:17:55 +09:00
|
|
|
'app/javascript/styles/birdsite/diff.scss',
|
2023-04-24 05:47:57 +09:00
|
|
|
'coverage/**/*',
|
2022-06-02 02:22:35 +09:00
|
|
|
'node_modules/**/*',
|
2023-04-24 05:47:57 +09:00
|
|
|
'public/assets/**/*',
|
|
|
|
'public/packs/**/*',
|
|
|
|
'public/packs-test/**/*',
|
2022-06-02 02:22:35 +09:00
|
|
|
'vendor/**/*',
|
|
|
|
],
|
2023-04-24 05:47:57 +09:00
|
|
|
reportDescriptionlessDisables: true,
|
|
|
|
reportInvalidScopeDisables: true,
|
|
|
|
reportNeedlessDisables: true,
|
2022-06-02 02:22:35 +09:00
|
|
|
rules: {
|
|
|
|
'at-rule-empty-line-before': null,
|
|
|
|
'color-function-notation': null,
|
|
|
|
'color-hex-length': null,
|
|
|
|
'declaration-block-no-redundant-longhand-properties': null,
|
|
|
|
'no-descending-specificity': null,
|
|
|
|
'no-duplicate-selectors': null,
|
|
|
|
'number-max-precision': 8,
|
|
|
|
'property-no-vendor-prefix': null,
|
|
|
|
'selector-class-pattern': null,
|
|
|
|
'selector-id-pattern': null,
|
|
|
|
'value-keyword-case': null,
|
|
|
|
'value-no-vendor-prefix': null,
|
|
|
|
|
|
|
|
'scss/dollar-variable-empty-line-before': null,
|
|
|
|
'scss/no-global-function-names': null,
|
|
|
|
},
|
2023-04-05 16:04:08 +09:00
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
'files': ['app/javascript/styles/mailer.scss'],
|
|
|
|
rules: {
|
|
|
|
'property-no-unknown': [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
ignoreProperties: [
|
|
|
|
'/^mso-/',
|
|
|
|
] },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2022-06-02 02:22:35 +09:00
|
|
|
};
|