{"_id":"@belloai/stylelint","_rev":"5-6ec75af8ab34d76681bf41ecbf93879e","name":"@belloai/stylelint","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@belloai/stylelint","version":"0.0.1","description":"Bello 前端 vue 项目代码规范 `stylelint`","keywords":["stylelint"],"author":{"name":"thomas-ballo","email":"liurongliang@balloai.com"},"homepage":"https://github.com/threfo/bello_frontend#readme","license":"ISC","main":"index.js","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/threfo/bello_frontend.git","directory":"packages/eslint-config-vue-prettier-ts"},"bugs":{"url":"https://github.com/threfo/bello_frontend/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":"682a4c2a7a081805879f57c6be7dd3d5d91c6158","_id":"@belloai/stylelint@0.0.1","_nodeVersion":"14.15.5","_npmVersion":"lerna/3.22.1/node@v14.15.5+x64 (darwin)","dist":{"integrity":"sha512-kBx+FiCqgGH2+yePtkTWxViaLtP413KF7XTTUHYjZpPpos0v+fRwoZTNBxXZgBL6pRdq0L9UXCZnJowA158/DA==","shasum":"7086470d784a87c2b3f074118484662753e4f705","tarball":"https://registry.npmjs.org/@belloai/stylelint/-/stylelint-0.0.1.tgz","fileCount":3,"unpackedSize":6223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwDOkCRA9TVsSAnZWagAA2KQP/2AkO+j9mJMLhTTH7OqO\n5iFhYYklOzYQ4Hl1zoLjX/NmslWfHyUoA0NF+5VI6r8cz5Ocww8DZlYmSd7w\nkVMSvpDE6DtJtSXqGHw7mPt+rWS+uMiNmQQpEyLeiT9dgDDw1cKLuwOkO28D\ntWPO2SWi0ZEbw3BAGK5/b8hsEaaNg2etVdMvtqHki4U4YY/CSqAVwUanaC7m\nyl+rDdtoYfhNiiufQqq55pLR9N8YI+j396yGNkWQguCMwA29LBs+iCJyp6yD\n8M6BJNhP2DVzRyuqWI7geiRJN8taRgDmQUVM3YYrQ9be0fi4sslCTkFL0pgB\nPFCEj3OA/R8EjDgJ7fOU50/l7q2nXAvYFbFxm9vnN/Y7NYbGC9d5WvfFceFT\nQ8VQtw8D7hfJZ1wnBjz207CBGRtgeRDJ9Ey5UJteuWLmbXKEb4kg2r83Sz0J\nu33SMGyCygUvKAjEsV3huq6Y/NYt1ANstTLmiSqxgfzLMOWHBqB0BJ7rQFo3\nzB8yzAmbR3Vl5SQTGQZ+44rHPyV0aPMnz8gmFoKUWBZsdMSOwKxrm8pqJlmj\nSw8bMnEpCvNOi+XdzHAsWW+ZXjTOEdETYuhVLfmLWfuplDRKYieKa2m9toOS\nnN0+zwWaoUFdK2RZFjwUD4RQd6qBRxwCd8hSIKy+pf8fDLtBzuBbXfh3h790\npbLy\r\n=qnOo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRa5oXfkYNLDr56wjDv2QF7frWK1ZGLT/VG0jiinxh0AiBIADjHhs6Cg6wfTpVqfvniYNLtIQCrX7eK7ghp7dXXOw=="}]},"_npmUser":{"name":"thomas-ballo","email":"liurongliang@belloai.com"},"directories":{},"maintainers":[{"name":"elysion72513","email":"liguangyuan@belloai.com"},{"name":"wanghuajin","email":"wanghuajin@belloai.com"},{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"ouxiaohui","email":"627424435@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint_0.0.1_1639986084233_0.7979051040749137"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-20T07:41:24.179Z","0.0.1":"2021-12-20T07:41:24.375Z","modified":"2024-04-03T09:39:41.750Z"},"maintainers":[{"email":"powan.li@foxmail.com","name":"powan"},{"email":"elysion72513@gmail.com","name":"elysion72513"},{"email":"liurongliang@belloai.com","name":"thomas-ballo"},{"email":"627424435@qq.com","name":"ouxiaohui"}],"description":"Bello 前端 vue 项目代码规范 `stylelint`","homepage":"https://github.com/threfo/bello_frontend#readme","keywords":["stylelint"],"repository":{"type":"git","url":"git+https://github.com/threfo/bello_frontend.git","directory":"packages/eslint-config-vue-prettier-ts"},"author":{"name":"thomas-ballo","email":"liurongliang@balloai.com"},"bugs":{"url":"https://github.com/threfo/bello_frontend/issues"},"license":"ISC","readme":"# @belloai/stylelint\n\nBello 前端 vue 项目代码规范 `stylelint`\n\n## 安装\n\n- `npm i @belloai/eslint-config-vue-prettier-ts --dev` or\n- `yarn add @belloai/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"}