about summary refs log tree commit diff
path: root/stylelint.config.js
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-06-02 09:49:38 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-06-02 09:49:38 +0200
commit25a46d9e5999682f2a9bba3492f5497d1e0ce0bc (patch)
tree776495c28dcc1e75ceacdfcbe801ab7344978b88 /stylelint.config.js
parentc1d0a6a7981b5fe74bdd03c958a558096ea3cde8 (diff)
parent1485bd9b4bf407d1051a6b160d2530c9ca93f10b (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `app/javascript/styles/fonts/montserrat.scss`:
  Code style changes upstream, path changes in glitch-soc.
  Applied upstream's code style changes.
- `app/javascript/styles/fonts/roboto-mono.scss`:
  Code style changes upstream, path changes in glitch-soc.
  Applied upstream's code style changes.
- `app/javascript/styles/fonts/roboto.scss`:
  Code style changes upstream, path changes in glitch-soc.
  Applied upstream's code style changes.
- `app/models/account.rb`:
  Textual conflict only caused by glitch-soc using a different value
  for character limits in a nearby line.
  Applied upstream's changes.
- `app/views/statuses/_simple_status.html.haml`:
  Attribute added to a tag modified by glitch-soc.
  Added upstream's attributes.
- `yarn.lock`:
  Upstream added/updated dependencies close to glitch-soc-only ones.
  Updated/added upstream dependencies.
Diffstat (limited to 'stylelint.config.js')
-rw-r--r--stylelint.config.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/stylelint.config.js b/stylelint.config.js
new file mode 100644
index 000000000..0f8267a81
--- /dev/null
+++ b/stylelint.config.js
@@ -0,0 +1,28 @@
+module.exports = {
+  extends: ['stylelint-config-standard-scss'],
+  ignoreFiles: [
+    'app/javascript/styles/mastodon/reset.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,
+    'max-line-length': null,
+    'no-descending-specificity': null,
+    'no-duplicate-selectors': null,
+    'number-max-precision': 8,
+    'property-no-unknown': null,
+    'property-no-vendor-prefix': null,
+    'selector-class-pattern': null,
+    'selector-id-pattern': null,
+    'string-quotes': null,
+    'value-keyword-case': null,
+    'value-no-vendor-prefix': null,
+
+    'scss/dollar-variable-empty-line-before': null,
+    'scss/no-global-function-names': null,
+  },
+};