1
0
mirror of https://github.com/bigchaindb/stylelint-config-bigchaindb.git synced 2024-12-28 23:57:49 +01:00
stylelint-config-bigchaindb/index.js

48 lines
2.0 KiB
JavaScript
Raw Normal View History

2017-05-30 19:14:24 +02:00
module.exports = {
'extends': 'stylelint-config-standard',
'rules': {
'indentation': 4,
'string-quotes': 'single',
'no-duplicate-selectors': true,
'color-hex-case': 'lower',
'color-hex-length': 'short',
'color-named': 'never',
'selector-no-qualifying-type': true,
'selector-combinator-space-after': 'always',
'selector-attribute-quotes': 'always',
'selector-attribute-operator-space-before': 'never',
'selector-attribute-operator-space-after': 'never',
'selector-attribute-brackets-space-inside': 'never',
'declaration-block-trailing-semicolon': 'always',
'declaration-empty-line-before': 'never',
2017-05-30 19:14:24 +02:00
'declaration-no-important': true,
'declaration-colon-space-before': 'never',
'declaration-colon-space-after': 'always',
'number-leading-zero': 'never',
'function-url-quotes': 'always',
'font-weight-notation': 'numeric',
'font-family-name-quotes': 'always-where-recommended',
'comment-whitespace-inside': 'always',
'comment-empty-line-before': 'always',
'selector-pseudo-element-colon-notation': 'single',
'selector-pseudo-class-parentheses-space-inside': 'never',
'media-feature-range-operator-space-before': 'always',
'media-feature-range-operator-space-after': 'always',
'media-feature-parentheses-space-inside': 'never',
'media-feature-colon-space-before': 'never',
'media-feature-colon-space-after': 'always',
'media-feature-name-no-vendor-prefix': true,
'at-rule-no-vendor-prefix': true,
'property-no-vendor-prefix': true,
'selector-no-vendor-prefix': true,
2017-05-30 23:49:15 +02:00
'value-no-vendor-prefix': true,
'max-nesting-depth': 3,
'selector-max-compound-selectors': 3,
2017-07-18 13:11:41 +02:00
'max-empty-lines': 2,
2017-07-18 13:31:33 +02:00
'selector-max-id': 0,
'at-rule-no-unknown': [true, {
'ignoreAtRules': ['extend', 'include', 'mixin']
}]
2017-05-30 19:14:24 +02:00
}
}