mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-21 04:39:23 +00:00
ce12934f5b
Conflicts: - `package.json`: Upstream removed a dependency that was textually close to a glitch-soc-only dependency. Removed the dependency as upstream did, while keeping the glitch-soc-only dependency.
42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
module.exports = {
|
|
extends: ['stylelint-config-standard-scss'],
|
|
ignoreFiles: [
|
|
'app/javascript/styles/mastodon/reset.scss',
|
|
'app/javascript/flavours/glitch/styles/reset.scss',
|
|
'app/javascript/styles/win95.scss',
|
|
'node_modules/**/*',
|
|
'vendor/**/*',
|
|
],
|
|
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,
|
|
},
|
|
overrides: [
|
|
{
|
|
'files': ['app/javascript/styles/mailer.scss'],
|
|
rules: {
|
|
'property-no-unknown': [
|
|
true,
|
|
{
|
|
ignoreProperties: [
|
|
'/^mso-/',
|
|
] },
|
|
],
|
|
},
|
|
},
|
|
],
|
|
};
|