diff options
author | dartcafe <github@dartcafe.de> | 2022-02-02 19:16:17 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-02-02 19:16:17 +0300 |
commit | 8ceb2ca59c58daac9cf5050aa23083c5fe52f5e2 (patch) | |
tree | 94f25fd6107aea2e274316ee4fd00fb5f0839035 /stylelint.config.js | |
parent | b319b7105bac0d5279b1c29fe1e3bef35b7f29af (diff) |
change to @nextcloud/stylelint-config
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'stylelint.config.js')
-rw-r--r-- | stylelint.config.js | 15 |
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 }
|