{"_id":"@blueking/stylelint-config","_rev":"6-e2fcfa5e097c70900151122e836f8c8a","name":"@blueking/stylelint-config","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1-pre.1":{"name":"@blueking/stylelint-config","version":"0.0.1-pre.1","keywords":["blueking","stylelint","scss","css","less","postcss"],"author":{"name":"bkfe"},"license":"MIT","_id":"@blueking/stylelint-config@0.0.1-pre.1","maintainers":[{"name":"blueking","email":"contactus_bk@tencent.com"}],"dist":{"shasum":"943ac26422c110605438d443b688b55706caa642","tarball":"https://registry.npmjs.org/@blueking/stylelint-config/-/stylelint-config-0.0.1-pre.1.tgz","fileCount":4,"integrity":"sha512-gCobJDHtd+B+VBteD98Vc4DgDiZVCic+Ao3xIqeVPZVVBn66neciXSa0q9UeAdku1V1Ev6S6GrSqwNeLHYv2AQ==","signatures":[{"sig":"MEYCIQDONyFG0HLp8or0DeMD76/Z6wuRXr4W9qPgOxrCQKs8iwIhANuJaljkYTO8NzDyAMskNMoLVvkw3UMft7U51XX+uJTB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe52ImCRA9TVsSAnZWagAADm0P/3fdoSCa/b/XqZcBd79R\nMx3TtdZjeZarPsaqPaGAi8wE6J7t19d3FBt5TrqazhXoqgYKo7duUGr5AlV5\nagOUOl7EkyBEV+XoEK7hezwEz+q0GoMYjKMPSohA34QDCbyGmGyR238PbRNS\nDQc7YOeXXn4d/1eMbkEjuUxxMguChLyoQQCh1ZyWkZJ0+KeXt5lJEIlvuX+R\nji+AuI1jWEQePzTqwBwAElULIkx3VwIinyMw/Kuk0EVy80etS6DhQ/BrOmlO\n9OBJRJ9fC+3CzAAMETea58d2BpNPIofAgkVOvvhcPkKXF79KuKb9oeBJ1DPR\nDgY3swJIws5UpyeZAlXOYCgqkOP3AvjobZ0kjmzZnv+ZaxVNUmcympT8eEhe\nXpNLIPlP3iqidrzPQC29zJekPxElbaeVIZXN348QsHzjlDXl3g3q6qfR0+g7\n1sWzBAc5qDCDA197JTduOB1E7U41HzfXRwTkgM8BB9Sv4IVSmSwuttBEOnxU\n6SkuIxvTvwoU8pIuyWER21e7ooqTsuZWvnw57QTu9b8kpPZUsGNBJeMhVrCC\n3RdoWnn7PucScmPSAuIhH1cHDPSwoKp+jEXK11ksVEmTaYLOjcMFCfx+Ai2Q\nKcfCiJkP5ptKMEruVgHDs4RP1lQoi0aPOwd0DHYBuXIjH4n7UcponD3zqe9b\nljcl\r\n=zqSu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"473780ed19f2403bd7dba655bece34cba4e16f06","scripts":{},"_npmUser":{"name":"blueking","email":"contactus_bk@tencent.com"},"repository":{"type":"git"},"_npmVersion":"6.13.4","description":"蓝鲸前端代码 StyleLint 规则","directories":{},"_nodeVersion":"12.14.0","dependencies":{"stylelint":"^13.6.0","stylelint-scss":"^3.17.2","stylelint-order":"^4.1.0","stylelint-config-standard":"^20.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stylelint-config_0.0.1-pre.1_1592222246204_0.6946500057651253","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@blueking/stylelint-config","version":"0.0.1","keywords":["blueking","stylelint","scss","css","less","postcss"],"author":{"name":"bkfe"},"license":"MIT","_id":"@blueking/stylelint-config@0.0.1","maintainers":[{"name":"blueking","email":"contactus_bk@tencent.com"}],"dist":{"shasum":"7e94196c0aa35d3f674ee9aa1b045e6978e38718","tarball":"https://registry.npmjs.org/@blueking/stylelint-config/-/stylelint-config-0.0.1.tgz","fileCount":5,"integrity":"sha512-rnhYZdsUDRTIMGTz7IL1rig466V51nL0LPWayr9/ABAne1lHtWQCBzctlhVprLOkbaW9stVmtj+qAdpe0E2aAw==","signatures":[{"sig":"MEQCIEMzPJvE2e5ZhNeBffJUup089idOiCOokGqaW9g2BqtDAiAEVFsUGqN1T+cT32jbJO0dpdX4TKFF5Hy0ZNqjrObccg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe54FLCRA9TVsSAnZWagAAwPcP/RXx9NBnalR/7PFuUbE0\nYomMUeBJOZk5b3yRXvWWIXY2SjIe0AwIWzVdn+V1LwB/PI21ePvDr+T64j9/\nTF5GLWOvgmogb6eJb3fMpofkWhVSQJW0VC4dajRVrcvMXLpEyb8pqthDB7If\n5sIbP4EO9IzSDQREhcqlTs9XMyHfXdNENjqENs3+L3LFIwBYg8Ac5E008pd+\nmI591nMWoEiy309EuA5vq2Gb6j8ITKAOMYM1JGJFiq1t9eaMpBx0u8QJxnxo\nVo5edhfcBt3A7Y7voFo/DcmxVv1HaWAqzSNK5/w2iC6nMLT18EcwMYvUGtrJ\nwinkTxqyOaw84AwVL/O3ez5yq0ojXnG56EQV+aq7L8nzdZH9caAIM9s9kyHl\nnqchIonADR/QgBMJrhlaUgiyBedcchFkfTTxR5DBFfmRZqGBYj0g5dctKa6E\nJ8tlpU7/kNc8WL54upsOQ35rHr5LaBlJuPu2n+qJV0eq6tSpxw0jXHeq5MDg\n66HoC3UdmrebzN4YgLO68Bzkl4qVIqUvd8a1IcaKmm9EIGUHgO+JsuPluars\n+Z4Ou4mBELoyY/0wzOe5mPMsKir52b++S2+NLEsTC4l3nCR/+bavIquP3kwB\nS+kXoIO+GfuCe/riaq6DUAIt42JeXeq+urBUj6NuqXKDyrfJfHOeOQD9kdWc\nN7ea\r\n=8pfW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e5651fbf0df4d5fd8d958ec692018f63b4f35b83","scripts":{},"_npmUser":{"name":"blueking","email":"contactus_bk@tencent.com"},"repository":{"type":"git"},"_npmVersion":"6.13.4","description":"蓝鲸前端代码 StyleLint 规则","directories":{},"_nodeVersion":"12.14.0","dependencies":{"stylelint":"^13.6.0","stylelint-scss":"^3.17.2","stylelint-order":"^4.1.0","stylelint-config-standard":"^20.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stylelint-config_0.0.1_1592230218663_0.8524727641118188","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@blueking/stylelint-config","version":"0.0.2","keywords":["blueking","stylelint","scss","css","less","postcss"],"author":{"name":"bkfe"},"license":"MIT","_id":"@blueking/stylelint-config@0.0.2","maintainers":[{"name":"blueking","email":"contactus_bk@tencent.com"}],"dist":{"shasum":"a2cfe7d1002023ddecc1398eb20d26c55861c37b","tarball":"https://registry.npmjs.org/@blueking/stylelint-config/-/stylelint-config-0.0.2.tgz","fileCount":5,"integrity":"sha512-LMRztvIFOovqLC6+YCuNjExvdsDyNyWfQRM8hJWGL00mDMPyZHbITIsrDiMtjiMmDEwCqNoF2/f2p3wON18u7w==","signatures":[{"sig":"MEQCIH+/T9cGNGzSJcP5LkdsXQ5eiMy6o928lHD4XS5c4sKGAiA0lwKZUcbKzvQ/5PLxWmNSl8fZtzvXNGGCr8AI6F7O5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe54LICRA9TVsSAnZWagAA5ZcP/i819mKfgjf0skhrd6og\nNP8WReynkOnIXS0guGyzXahvalepw+zCvjpOqAjig6Z5fd5w18wT0eWB3RH1\n5N3VtnbrD92BcevAS+rLW3Oh78qQLyB+zQp2x5+2zrTaPuKUvrecS6e2KFN1\nCJgiV3gjRcaN7sYpcmaT/SOrPPQqtkgcp3toqFX6yA8pfsAgZTce0zIuIinn\nbKSnPKXWJNPQJc+nWtN34EoMNWXmOxjamWyBU2AOBvyKBBrBX94XXJ//yJX9\n5o4oTThZqMU64J9oR/3nLa/JjwpZYX9FDAeqpmtMvxtL+XqKt+g1PcmddIz/\ne/O4F0bwUgT/OB6QutQfqolwl18vtNnyoI5Xc52+1yYtcr1zFoOFnF9i+a0X\nS38wttZ+6QRCGbRzhaA60nWYg1ZdJX6qOuTWUpxS1FQAlO1W82+MciBZIpyr\noLNCg4P0gr1ZwI02+Sfm2sPvv2F37g/BldfXclQTpYLyWYgNsoQrs4hPR53D\njR2864m0qYZYoo5Ez2EjdYfjpWh3CpbXgEJtoQllAfGCwfhIre0LOLAQg6Go\nMC6shWU3Z4a3lDOCeQfptgqXQ/OlDTg0BDPzEclzkNdcceWeD7Jx59oHaJyK\nvv8ghbSDqdHSo6s4aKcG/aqLml1HUlCZD+HpEuEPiBj7cB31+3GgU8Sw1o4m\nRAii\r\n=SZzk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"979ce1cce8b2c57e4f6b89d021637d2966abc292","scripts":{},"_npmUser":{"name":"blueking","email":"contactus_bk@tencent.com"},"repository":{"type":"git"},"_npmVersion":"6.13.4","description":"蓝鲸前端代码 StyleLint 规则","directories":{},"_nodeVersion":"12.14.0","dependencies":{"stylelint":"^13.6.0","stylelint-scss":"^3.17.2","stylelint-order":"^4.1.0","stylelint-config-standard":"^20.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stylelint-config_0.0.2_1592230600188_0.5193889693917264","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@blueking/stylelint-config","version":"0.0.3","keywords":["blueking","stylelint","scss","css","less","postcss"],"author":{"name":"bkfe"},"license":"MIT","_id":"@blueking/stylelint-config@0.0.3","maintainers":[{"name":"blueking","email":"contactus_bk@tencent.com"}],"dist":{"shasum":"7e21ce52a08cb52e26b0e39c2878e4d3efef43a0","tarball":"https://registry.npmjs.org/@blueking/stylelint-config/-/stylelint-config-0.0.3.tgz","fileCount":5,"integrity":"sha512-8Yqwcg/dZmeY4ptnobq1H3Z0r0UzGXm2bD4rc18a/b7AvcJDFe7Z+RIPYYvNtbg4cXzzSAGu73ImbSiFi1c8jw==","signatures":[{"sig":"MEUCIQCIZc4hT6so7XF98CSfVIzN+xEkPuVx+BUHXsKmYqswTwIgYu00vFah+FEjHoFDG1olJJfuhkFU2cy0arUriznviYk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe54MoCRA9TVsSAnZWagAAY0IP/jZ1nIlbb3OfIot8OXNL\ncq2bQmNF/nbTNrcZ76VE/JQUlSreknCwDhFWWePdnngMG3gFNgeWn59ojyEK\nshygaw8qLsmZc5FaoD8eRYv9j3TqqJDdXe2NLX7Wtp9FBoFjMv3Sz6OUr7m4\nZtl7sxNW+l6CtmyoOueYi/ozpzlTP91lVzf+0eRj+mzueBD1AcNAEMYutAac\n2vjnfsCWOIlPMAcVErS7U6ZmGd5cLwglcbpdInsGkLsMggoA3YoEMIQ2Y4do\nKiMhI6awkP+2KdH7P62dkj/B8QGsCTLHr5TY2iXVNMF1GlRwfCBP7321Wkw/\ngIUCdczgjItn/B54ZCer+E8YMjYdxYwUgBObqKsjmgDmzQV0gd8ihEudmXGG\nAxFHQPxSkShNcXgajP0kH5bTOjE5np7gHn07JBzsynhEK97dPpaS+FsucQwS\n2jeBNTvH/aRuSDw4QboOn9jukbRraDRb79EHY9VkcHRt+0f6IZBp2bNLsAVx\n9WRsuNAiYUKoC4+M28IDWHlix4A/lt8gVkdmgUeIqptkbHdN+BtyZerZGSDV\n0/XZxIz02DlCF6PMbGYc/k4YaihkANIeWcFpRvL08veeYEI8tOP/q4x2iTAw\nb37/jiCr65Q+vf93LbhXNJxWKHuP1cr+tIwGKHzO3WbcGrmR23jLMDVES1Ms\nm1/F\r\n=Li9+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"18d09ee47d400c48574a5d873cff449535bda854","scripts":{},"_npmUser":{"name":"blueking","email":"contactus_bk@tencent.com"},"repository":{"type":"git"},"_npmVersion":"6.13.4","description":"蓝鲸前端代码 StyleLint 规则","directories":{},"_nodeVersion":"12.14.0","dependencies":{"stylelint":"^13.6.0","stylelint-scss":"^3.17.2","stylelint-order":"^4.1.0","stylelint-config-standard":"^20.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/stylelint-config_0.0.3_1592230696109_0.09021226182525499","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-06-15T11:57:26.158Z","modified":"2026-01-15T04:04:12.492Z","0.0.1-pre.1":"2020-06-15T11:57:26.464Z","0.0.1":"2020-06-15T14:10:18.765Z","0.0.2":"2020-06-15T14:16:40.528Z","0.0.3":"2020-06-15T14:18:16.245Z"},"author":{"name":"bkfe"},"license":"MIT","keywords":["blueking","stylelint","scss","css","less","postcss"],"repository":{"type":"git"},"description":"蓝鲸前端代码 StyleLint 规则","maintainers":[{"email":"contactus_bk@tencent.com","name":"blueking-magicbox"}],"readme":"简介\n------\n> [@blueking/stylelint-config](https://www.npmjs.com/package/@blueking/stylelint-config) 是一个蓝鲸前端通用的样式stylelint检查规则包用于规范统一项目中样式语法书写，支持的语法 `scss`,`postcss`,`css`, `less`。\n\n安装\n------\n```bash\nnpm i @blueking/stylelint-config@latest -D\n```\n项目中的配置\n---\n\n```javascript\n// .stylintrc.js \nmodule.exports = {\n    extends: [\n        '@blueking/stylint-config'\n    ]\n}\n```\n检测规则详细\n---\n```javascript\n{ \n    //指定缩进 \n    // http://stylelint.cn/user-guide/rules/indentation/\n    indentation: 2,\n    // 要求或禁止小于 1 的小数的前导 0 \n    // http://stylelint.cn/user-guide/rules/number-leading-zero/\n    'number-leading-zero': 'never',\n    // 指定字符串使用单引号还是双引号\n    // http://stylelint.cn/user-guide/rules/string-quotes/\n    'string-quotes': 'double',\n    // 限制选择器中ID选择器的数量\n    // https://stylelint.io/user-guide/rules/selector-max-id\n    'selector-max-id': 0,\n    // 选择器列表的逗号后需要换行符或不允许使用空格。\n    // https://stylelint.io/user-guide/rules/selector-list-comma-newline-after\n    'selector-list-comma-newline-after': 'always',\n    // 在规则前要求或禁止使用空行。\n    // https://stylelint.io/user-guide/rules/rule-empty-line-before\n    'rule-empty-line-before': [\n      'always',\n      { \n        ignore: ['after-comment'],\n        'except': [\"after-rule\", \"after-single-line-comment\", \"inside-block-and-after-rule\", \"inside-block\", \"first-nested\"]\n      }\n    ],\n    // 在评论前要求或禁止使用空行。\n    // https://stylelint.io/user-guide/rules/comment-empty-line-before\n    'comment-empty-line-before': [\n      'always',\n      { except: ['first-nested'] },\n    ],\n    // 在块的大括号之前需要一个空格或不允许空格。\n    // https://stylelint.io/user-guide/rules/block-opening-brace-space-before\n    'block-opening-brace-space-before': 'always',\n    // 在冒号声明后需要一个空格或禁止使用空格。\n    // https://stylelint.io/user-guide/rules/declaration-colon-space-after\n    'declaration-colon-space-after': 'always',\n    // 在冒号之前需要一个空格或禁止空格。\n    // https://stylelint.io/user-guide/rules/declaration-colon-space-before\n    'declaration-colon-space-before': 'never',\n    // 限制单行声明块中的声明数量。\n    // https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations\n    'declaration-block-single-line-max-declarations': 1,\n    // 在声明中指定禁止使用的属性和值对的黑名单。\n    // https://stylelint.io/user-guide/rules/declaration-property-value-blacklist\n    'declaration-property-value-blacklist': { '/^border/': ['none'] },\n    // 规则前要求或禁止使用空行。\n    // https://stylelint.io/user-guide/rules/at-rule-empty-line-before\n    'at-rule-empty-line-before': [\n      'always',\n      { ignore: ['after-comment'], except: ['first-nested', 'after-same-name'] },\n    ],\n\n    // Sass rules\n    // 限制嵌套深度。\n    // https://stylelint.io/user-guide/rules/max-nesting-depth\n    'max-nesting-depth': 20,\n    'order/order': [\n      'declarations',\n      { type: 'at-rule' },\n      { type: 'at-rule', hasBlock: true },\n      'rules',\n    ],\n    // 不要使用已被 autoprefixer 支持的浏览器前缀\n    // https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix\n    'media-feature-name-no-vendor-prefix': true,\n    // 禁止使用规则的供应商前缀\n    // https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix\n    'at-rule-no-vendor-prefix': true,\n    // 禁止选择器的供应商前缀。\n    // https://stylelint.io/user-guide/rules/selector-no-vendor-prefix\n    'selector-no-vendor-prefix': true,\n    // 禁止使用属性的供应商前缀。\n    // https://stylelint.io/user-guide/rules/property-no-vendor-prefix\n    'property-no-vendor-prefix': true,\n    // 禁止使用值的供应商前缀。\n    // https://stylelint.io/user-guide/rules/value-no-vendor-prefix\n    'value-no-vendor-prefix': true,\n    // 颜色值要小写\n    // https://stylelint.io/user-guide/rules/color-hex-case\n    'color-hex-case': 'lower',\n    // 颜色值能短则短\n    // https://stylelint.io/user-guide/rules/color-hex-length\n    'color-hex-length': 'short',\n    // 不能用important\n    // https://stylelint.io/user-guide/rules/declaration-no-important\n    'declaration-no-important': true,\n}\n```\n","readmeFilename":"README.md"}