加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
stylelint.config.js 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
simurai 提交于 2018-04-24 14:46 . Fix lint error
const path = require('path');
module.exports = {
"extends": "stylelint-config-standard",
"ignoreFiles": [path.resolve(__dirname, "static", "atom.less")],
"rules": {
"color-hex-case": null, // TODO: enable?
"max-empty-lines": null, // TODO: enable?
"selector-type-no-unknown": null,
"function-comma-space-after": null, // TODO: enable?
"font-family-no-missing-generic-family-keyword": null, // needed for octicons (no sensible fallback)
"declaration-empty-line-before": null, // TODO: enable?
"declaration-block-trailing-semicolon": null, // TODO: enable
"no-descending-specificity": null,
"number-leading-zero": null, // TODO: enable?
"no-duplicate-selectors": null,
"selector-pseudo-element-colon-notation": null, // TODO: enable?
"selector-list-comma-newline-after": null, // TODO: enable?
"rule-empty-line-before": null, // TODO: enable?
"at-rule-empty-line-before": null, // TODO: enable?
"font-family-no-duplicate-names": null, // TODO: enable?
"unit-no-unknown": [true, {"ignoreUnits": [ "x" ]}], // Needed for -webkit-image-set 1x/2x units
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化