mirror of
https://github.com/mastodon/mastodon.git
synced 2026-05-23 01:26:36 -05:00
Some checks failed
Check i18n / check-i18n (push) Waiting to run
Chromatic / Check for relevant changes (push) Waiting to run
Chromatic / Run Chromatic (push) Blocked by required conditions
CodeQL / Analyze (actions) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
CodeQL / Analyze (ruby) (push) Waiting to run
Check formatting / lint (push) Waiting to run
CSS Linting / lint (push) Waiting to run
Ruby Testing / build (production) (push) Waiting to run
Ruby Testing / build (test) (push) Waiting to run
Ruby Testing / test (.ruby-version) (push) Blocked by required conditions
Ruby Testing / test (3.3) (push) Blocked by required conditions
Ruby Testing / test (3.4) (push) Blocked by required conditions
Ruby Testing / End to End testing (.ruby-version) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.3) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.4) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:7.17.29) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:8.19.2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, opensearchproject/opensearch:2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.3, docker.elastic.co/elasticsearch/elasticsearch:7.17.29) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.4, docker.elastic.co/elasticsearch/elasticsearch:7.17.29) (push) Blocked by required conditions
JavaScript Linting / lint (push) Has been cancelled
JavaScript Testing / test (push) Has been cancelled
71 lines
1.8 KiB
JavaScript
71 lines
1.8 KiB
JavaScript
module.exports = {
|
|
extends: ['stylelint-config-standard-scss'],
|
|
ignoreFiles: [
|
|
'app/javascript/styles/mastodon/reset.scss',
|
|
'coverage/**/*',
|
|
'node_modules/**/*',
|
|
'public/assets/**/*',
|
|
'public/packs*/**/*',
|
|
'vendor/**/*',
|
|
],
|
|
reportDescriptionlessDisables: true,
|
|
reportInvalidScopeDisables: true,
|
|
reportNeedlessDisables: true,
|
|
rules: {
|
|
'at-rule-empty-line-before': null,
|
|
'color-function-notation': null,
|
|
'color-function-alias-notation': 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,
|
|
'custom-property-pattern': [
|
|
'^_?[a-z]([a-z0-9])*(-[a-z0-9]+)*$',
|
|
{
|
|
message: (name) =>
|
|
`Expected custom property name "${name}" to be kebab-case (optional leading underscore allowed)`,
|
|
},
|
|
],
|
|
|
|
'scss/dollar-variable-empty-line-before': null,
|
|
'scss/no-global-function-names': null,
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['app/javascript/styles/entrypoints/mailer.scss'],
|
|
rules: {
|
|
'property-no-unknown': [
|
|
true,
|
|
{
|
|
ignoreProperties: ['/^mso-/'],
|
|
},
|
|
],
|
|
},
|
|
},
|
|
{
|
|
files: [
|
|
'app/javascript/**/*.module.scss',
|
|
'app/javascript/**/*.module.css',
|
|
],
|
|
rules: {
|
|
'selector-pseudo-class-no-unknown': [
|
|
true,
|
|
{ ignorePseudoClasses: ['global'] },
|
|
],
|
|
|
|
'property-no-unknown': [
|
|
true,
|
|
{
|
|
ignoreProperties: ['composes'],
|
|
},
|
|
],
|
|
},
|
|
},
|
|
],
|
|
};
|