{"_id":"@2bitlab/stylelint","_rev":"2-e37f3452c2251a82a9f1e1614dfe66a8","name":"@2bitlab/stylelint","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@2bitlab/stylelint","version":"1.0.0","description":"2bitlab 前端 vue 项目代码规范 `stylelint`","keywords":["stylelint"],"author":{"name":"thomas-ballo","email":"liurongliang@balloai.com"},"homepage":"https://github.com/threfo/bit_f_core#readme","license":"ISC","main":"index.js","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/threfo/bit_f_core.git","directory":"packages/eslint-config-vue-prettier-ts"},"bugs":{"url":"https://github.com/threfo/bit_f_core/issues"},"dependencies":{"stylelint-config-css-modules":"2.2.x","stylelint-config-prettier":"8.0.x","stylelint-config-recess-order":"2.0.x","stylelint-config-standard":"20.0.x","stylelint-config-tailwindcss":"^0.0.1","stylelint-scss":"3.14.x"},"peerDependencies":{"stylelint":"^13.5.0"},"gitHead":"dcee672cb16e0c5f4a11babdfe0b916259d960ec","_id":"@2bitlab/stylelint@1.0.0","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (darwin)","dist":{"integrity":"sha512-3EF+CNW5DW20QYdXlip+i73kpdvTOX9qth3szGkme4YoOMLBItDjK5LADDl04+O8nonTt3OjIxDgIVBYdkgzdA==","shasum":"a4a37627be110474acd81727f3e748af041a1de9","tarball":"https://registry.npmjs.org/@2bitlab/stylelint/-/stylelint-1.0.0.tgz","fileCount":3,"unpackedSize":6215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhofrcCRA9TVsSAnZWagAAA4YP/j70nIYLC7PIZq6YPA3c\nTeihxNiSF5HqgtrGvtZnbVmgT7LF5W5j7Ti1qKd38ODExq/E6jJ3Jqybwf9V\nxQV2bdoDNp9/3MCWA++Y6U/Jg2Scj7cFS86IRcDINE1Wa7v5Gt2/UX3TcGIT\nMvuaLFbHyvA4hb+C9Z11b6nk5zcUYY9MzcPy5M7D7kN4iGaX5d1Aj3QM56GG\nIosGTRtCkSb4L+Ie6GiU1RrOKwHuoowDMYHUCaRNSItLgc91qDaLfraoDEIG\n/yPUr8KJyS3L7RdwsNI0bfCgSu4V1aItA2Z/rX3gLqx4m2InYdKq1/hxwHxM\n9mH1FTm4kGvfDCLWIz3hKciRUC1Tc0Hv3bsR1C92q2f4T4j42QOF9dotDCai\nonwdF8OO6oUaxRp6rngiFZKc4eRA++ZKogUCWqoUYi017VZhzvRDhnrveN5T\n7ScGton+KhPhyglHqhldLlqf3OEkMyIyQRwogJi/dbjpjwiVCXPugR2pWKFc\nGvlHY+fsotZCEd73u1oGM/H0LS10C4KsN4uFZsQOuVW91wTdRAyNzXUEgCu3\noW6XuX3Ct3ihmDF9B8VjLGqLhG6DO2jY5rwASjFZpasmIuNiw1gBVtqkflFK\nCGjm/QxqkJjySIEwmTV7zjThhbnGux5twuKMHf82gaUzv7ZUfqxzzFnK5MYr\nTAWi\r\n=t3X7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEYf5vTydbqDGoxMf6cngxbkLS2bBd8uFczWTlMcLPp3AiEAk/AxP8rZc8+AQ+GHUhxg9MaNQvL1m8tRgwWjJKrIq4M="}]},"_npmUser":{"name":"thomas-ballo","email":"liurongliang@belloai.com"},"directories":{},"maintainers":[{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"thomas_lau","email":"Thomas_0836@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint_1.0.0_1638005468556_0.7533868922931828"},"_hasShrinkwrap":false},"1.0.1":{"name":"@2bitlab/stylelint","version":"1.0.1","description":"2bitlab 前端 vue 项目代码规范 `stylelint`","keywords":["stylelint"],"author":{"name":"thomas-ballo","email":"liurongliang@balloai.com"},"homepage":"https://github.com/2bitlab/bit_f_core#readme","license":"ISC","main":"index.js","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/2bitlab/bit_f_core.git","directory":"packages/eslint-config-vue-prettier-ts"},"bugs":{"url":"https://github.com/2bitlab/bit_f_core/issues"},"dependencies":{"stylelint-config-css-modules":"2.2.x","stylelint-config-prettier":"8.0.x","stylelint-config-recess-order":"2.0.x","stylelint-config-standard":"20.0.x","stylelint-config-tailwindcss":"^0.0.1","stylelint-scss":"3.14.x"},"peerDependencies":{"stylelint":"^13.5.0"},"gitHead":"4246957361a8e55214b68401318b017c7256732d","_id":"@2bitlab/stylelint@1.0.1","_nodeVersion":"14.4.0","_npmVersion":"lerna/3.22.1/node@v14.4.0+x64 (darwin)","dist":{"integrity":"sha512-3VkpInBtOHAyLD6WNZqVjkz4vpxmGYoe76NiRoAWvXMkSgQFL5SYEdpBuORgZX0yN9K9V6l8IgFWGhRgDw1V7g==","shasum":"46095b47027643c0deb78f37ed6ac75383b1786b","tarball":"https://registry.npmjs.org/@2bitlab/stylelint/-/stylelint-1.0.1.tgz","fileCount":3,"unpackedSize":6218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpZMECRA9TVsSAnZWagAADh4P/jnNGSe1zCkyPib2lTf9\n3LYB9Y1LiWC/11mx0QCIXXpDGVhU0cptIPI5yCFfiIbLCt0lIdLXbR8Ox6wp\nAzBN3sUhxZ67gqv/HurXdfLKVcYWUOIpSaoCfxZ5MejHcL3HDJjzXlf7m6Rv\nAMju703RDsqmUhc8XHvRI5vNt/swGGuTvRU7Tp7aw4Z2/UaFpFDlfq/hgUXG\ndE+u2Aw0PhSMG0lOXxjmauAAoH3yM+DAEmB9sCKw+Y67P5P+1zBKXj1mFSH/\n3t5gkY5jokzh3xjBZsuohtIRFEXD6sdPdi4qTCTCkO3BmgOKMfH8dU5Si8/Q\nTp089yjG3My5lhitDWZyVQmaU1oaFsAuwIGqwGQv4hpeIO3l8qNHoseqJYQw\nyG8btaBkMlppv1LpR+SGOhTw5Xy3aAhuBKju+O7FQRu2EaFvcrrcuyGTq5ob\nwMCqMqpj6tqRQFpSGhQ+HAXDOxynVIOo6xXAgt0ZmrAS1SgB253Re6WNfqaL\nC4p04gvt/hlfzZbca8ACw+f7N0txKZhuOG/e0zOFM2fx0o6w6I64wQLOf0gl\n1S78vBcsQh6jgCK9gfymkCl0QBqQobS9wx5q+lLz8qP4draxQmy2JvzeAVe9\n9rc2l1ZjQFbeQaETFiJC5LJVEf2RfOhoTj9hXelVOndpOsg8t4f91H9WT+JG\nhNMr\r\n=41Ux\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiRwFBWeG0C8srzX+sze54U0tuJlNgvBuZisxX6/VOYAiACnydeq+7PJO9/Z+cTLMsjlN93qLM95RIrh5sJItfoPQ=="}]},"_npmUser":{"name":"thomas-ballo","email":"liurongliang@belloai.com"},"directories":{},"maintainers":[{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"thomas_lau","email":"Thomas_0836@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint_1.0.1_1638241028319_0.5163629964161021"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-27T09:31:08.503Z","1.0.0":"2021-11-27T09:31:08.722Z","modified":"2022-04-04T10:42:04.766Z","1.0.1":"2021-11-30T02:57:08.480Z"},"maintainers":[{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"thomas_lau","email":"Thomas_0836@qq.com"}],"description":"2bitlab 前端 vue 项目代码规范 `stylelint`","homepage":"https://github.com/2bitlab/bit_f_core#readme","keywords":["stylelint"],"repository":{"type":"git","url":"git+https://github.com/2bitlab/bit_f_core.git","directory":"packages/eslint-config-vue-prettier-ts"},"author":{"name":"thomas-ballo","email":"liurongliang@balloai.com"},"bugs":{"url":"https://github.com/2bitlab/bit_f_core/issues"},"license":"ISC","readme":"# @2bitlab/stylelint\n\n2bitlab 前端 vue 项目代码规范 `stylelint`\n\n## 安装\n\n- `npm i @2bitlab/eslint-config-vue-prettier-ts --dev` or\n- `yarn add @2bitlab/eslint-config-vue-prettier-ts -D`\n\n> 使用 yarn 如果出现错误的话 需要补充安装 `yarn add eslint-plugin-prettier@latest -D`\n\n## 配置\n\n```js\nmodule.exports = {\n  extends: [\n    // Use the Standard config as the base\n    // https://github.com/stylelint/stylelint-config-standard\n    'stylelint-config-standard',\n    // Enforce a standard order for CSS properties\n    // https://github.com/stormwarning/stylelint-config-recess-order\n    'stylelint-config-recess-order',\n    // Override rules that would interfere with Prettier\n    // https://github.com/shannonmoeller/stylelint-config-prettier\n    'stylelint-config-prettier',\n    // Override rules to allow linting of CSS modules\n    // https://github.com/pascalduez/stylelint-config-css-modules\n    'stylelint-config-css-modules',\n    //https://github.com/zhilidali/stylelint-config-tailwindcss\n    'stylelint-config-tailwindcss'\n  ],\n  plugins: [\n    // Bring in some extra rules for SCSS\n    'stylelint-scss'\n  ],\n  // Rule lists:\n  // - https://stylelint.io/user-guide/rules/\n  // - https://github.com/kristerkari/stylelint-scss#list-of-rules\n  rules: {\n    // Allow newlines inside class attribute values\n    'string-no-newline': null,\n    // Enforce camelCase for classes and ids, to work better\n    // with CSS modules\n    'selector-class-pattern':\n      /^[a-z][a-z-_A-Z0-9]*(-(enter|leave)(-(active|to))?)?$/,\n    'selector-id-pattern': /^[a-z][a-zA-Z]*$/,\n    // Limit the number of universal selectors in a selector,\n    // to avoid very slow selectors\n    'selector-max-universal': 1,\n    // Disallow allow global element/type selectors in scoped modules\n    // 'selector-max-type': [0, { ignore: ['child', 'descendant', 'compounded'] }],\n    // ===\n    // SCSS\n    // ===\n    'scss/dollar-variable-colon-space-after': 'always',\n    'scss/dollar-variable-colon-space-before': 'never',\n    'scss/dollar-variable-no-missing-interpolation': true,\n    'scss/dollar-variable-pattern': /^[a-z-A-Z-0-9]+$/,\n    'scss/double-slash-comment-whitespace-inside': 'always',\n    'scss/operator-no-newline-before': true,\n    'scss/operator-no-unspaced': true,\n    'scss/selector-no-redundant-nesting-selector': true,\n    // Allow SCSS and CSS module keywords beginning with `@`\n    'at-rule-no-unknown': null,\n    // 'scss/at-rule-no-unknown': true,\n    'font-family-no-missing-generic-family-keyword': null,\n    'no-descending-specificity': null,\n    'selector-type-no-unknown': null,\n    'selector-pseudo-element-no-unknown': [\n      true,\n      {\n        ignorePseudoElements: ['v-deep']\n      }\n    ],\n    'length-zero-no-unit': null\n  }\n}\n```\n","readmeFilename":"README.md"}