代码拉取完成,页面将自动刷新
同步操作将从 rsuite/rsuite 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
module.exports = {
extends: 'stylelint-config-standard',
rules: {
// Overwrite stylelint-config-standard rules
// ----------------------------------
// Don't check if there is a whitespace after the function.
// Style-lint can't distinguish less mixin or css function. Disable this check item directly here.
'function-whitespace-after': null,
// Require a leading zero for fractional numbers less than 1.
'number-leading-zero': 'always',
// Extended rules
// - The most restrictive vendor-prefix limit is enabled, which is determined by the data of {@link https://caniuse.com}
// ----------------------------------
// Forbidden the at rule (eg: @keyframes ) to use the browser prefix.
'at-rule-no-vendor-prefix': true,
// Specify a whitelist of attributes and units allowed in the declaration.
'declaration-property-unit-whitelist': {
'font-size': ['px', 'em', '%'],
'/^animation/': ['s']
},
// Forbidden @media use the browser prefix.
'media-feature-name-no-vendor-prefix': true,
// Limit the depth of nesting allowed.
'max-nesting-depth': 5,
// Don't forbidden low specificity selectors from appearing after high specificity selectors.
// [Specificity description]{@link https://www.w3.org/TR/css3-selectors/#specificity}
'no-descending-specificity': null,
// Class selector naming rules use snake case. eg: .class-name
'selector-class-pattern': '^[a-z0-9]+(-?[a-z0-9]+)*$',
// ID selector naming rules use camel case , excepted `icon-`. eg: #loginButton,#icon-login
'selector-id-pattern': '^([a-z]+([A-Z][a-z]+)?)||(icon-([a-z-]+))$',
// Forbidden use the browser prefix.
'property-no-vendor-prefix': true,
'selector-no-vendor-prefix': true,
'value-no-vendor-prefix': true,
// Limit the number of composite selectors in a selector.
'selector-max-compound-selectors': 6,
// Limit the number of ID selectors in a selector.
'selector-max-id': 1,
// Limit the number of universal selectors in a selector.
'selector-max-universal': 1,
// Specify a whitelist of allowed pseudo-class selectors.(Only use pseudo-classes supported by IE10+ browsers)
// [CSS selector browser support]{@link https://labs.qianduan.net/css-selector/}
'selector-pseudo-class-whitelist': [
// CSS 1
'active',
'link',
'visited',
// CSS 2.1
'first-child',
'focus',
'hover',
// CSS 3
'checked',
'disabled',
'enabled',
'empty',
'first-of-type',
'indeterminate',
'last-child',
'last-of-type',
'not',
'nth-child',
'nth-last-child',
'nth-of-type',
'nth-last-of-type',
'only-child',
'only-of-type',
'root',
'target'
],
// String using single quotes
'string-quotes': 'single',
'declaration-colon-newline-after': null,
'value-list-comma-newline-after': 'always-multi-line'
}
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。