-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathstylelint.config.js
More file actions
20 lines (19 loc) · 737 Bytes
/
Copy pathstylelint.config.js
File metadata and controls
20 lines (19 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const stylelintConfig = require('@nextcloud/stylelint-config')
module.exports = {
...stylelintConfig,
ignoreFiles: [
...(stylelintConfig.ignoreFiles || []),
'css/vendor/**',
],
rules: {
...stylelintConfig.rules,
// The stylesheet builds a rule up over several blocks — a :root that
// gathers variables, and navigation selectors that gain more rules as
// the section goes on. Those are deliberate; this rule flags the same
// selector appearing twice without them being in conflict.
'no-duplicate-selectors': null,
// A property is sometimes re-declared to override an earlier value
// (a `display` reset, a fallback `border-radius`), which is fine.
'declaration-block-no-duplicate-properties': null,
},
}