Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2022-02-02 19:16:17 +0300
committerdartcafe <github@dartcafe.de>2022-02-02 19:16:17 +0300
commit8ceb2ca59c58daac9cf5050aa23083c5fe52f5e2 (patch)
tree94f25fd6107aea2e274316ee4fd00fb5f0839035 /stylelint.config.js
parentb319b7105bac0d5279b1c29fe1e3bef35b7f29af (diff)
change to @nextcloud/stylelint-config
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'stylelint.config.js')
-rw-r--r--stylelint.config.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/stylelint.config.js b/stylelint.config.js
new file mode 100644
index 00000000..687a0dc7
--- /dev/null
+++ b/stylelint.config.js
@@ -0,0 +1,15 @@
+const stylelintConfig = require('@nextcloud/stylelint-config')
+
+const overrides = {
+ ignoreFiles: ['**/*.js', '**/*.gif', '**/*.svg'],
+ rules: {
+ 'rule-empty-line-before': [
+ 'always-multi-line',
+ {
+ ignore: ['after-comment', 'inside-block'],
+ },
+ ],
+ },
+}
+
+module.exports = { ...stylelintConfig, ...overrides }