{"_id":"@condorhero/stylelint-config-vue","name":"@condorhero/stylelint-config-vue","dist-tags":{"latest":"2.0.0"},"versions":{"2.0.0":{"name":"@condorhero/stylelint-config-vue","version":"2.0.0","packageManager":"pnpm@7.1.6","description":"My Stylelint vue config presets","keywords":["eslint","Stylelint-config-vue","Stylelint-config-preset"],"license":"MIT","author":"CondorHero","repository":{"type":"git","url":"git+https://github.com/condorheroblog/stylelint-config.git","directory":"packages/vue"},"main":"index.js","peerDependencies":{"stylelint":">=14.9.0"},"bugs":{"url":"https://github.com/condorheroblog/stylelint-config/issues"},"homepage":"https://github.com/condorheroblog/stylelint-config#readme","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"dependencies":{"@condorhero/stylelint-config-css":"^2.0.0","postcss-html":"^1.4.1","stylelint-config-recommended-vue":"^1.4.0"},"devDependencies":{"stylelint":"^14.9.0"},"scripts":{"stylelint:fix":"stylelint . --fix --cache --cache-location node_modules/.cache/stylelint/ --config=index.js","stylelint":"stylelint . --config=index.js"},"_id":"@condorhero/stylelint-config-vue@2.0.0","_integrity":"sha512-TGGK7bQnY2t2TuigZBCye1euIsYtwtSiOm0WB+kiPMZyKkuodCGEomwWKC2XUzV3bcx/37S46mUREqXzrj5JiA==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/81b21b7295d7b35d17e82080ee93b580/condorhero-stylelint-config-vue-2.0.0.tgz","_from":"file:condorhero-stylelint-config-vue-2.0.0.tgz","_nodeVersion":"16.15.1","_npmVersion":"7.20.1","dist":{"integrity":"sha512-TGGK7bQnY2t2TuigZBCye1euIsYtwtSiOm0WB+kiPMZyKkuodCGEomwWKC2XUzV3bcx/37S46mUREqXzrj5JiA==","shasum":"dcca90b251f01ea3fa9b87c29cb97cec185b7a49","tarball":"https://registry.npmjs.org/@condorhero/stylelint-config-vue/-/stylelint-config-vue-2.0.0.tgz","fileCount":4,"unpackedSize":12994,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhBsIVmj2t4fYSDs6zL0QRp2eVKs1z8RqvJeeJbbZK1AiBW6oqsBXjWgPL/Kz7Rr7XG8iymF9NNcsWJdLvYjRxKKg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizSJtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRjg//amUFDRxSfmbDVHHe97evVCwJCjNsl+T6MPk0QvCWlv/d6qb4\r\nIUzsRZBMCe8s0Sd00E794YnunDDECNyIZ7TL3HQtiBUyLsWPCQtoTankQRvd\r\nhEGEe7sQ0XINALoYjdYh6m/ika1NAMWklqeE04Tjj6nYKrC0GZe/bF57GZiR\r\ncfmfRi/GcL9s4+ooYIYHlSw2MCujbnjPBSf+MfdtSrRsBVaQIH+eR7CaGw2I\r\n0NpETxIPOUuD0Veba0AeU+T8l84hPocDQuwiOhi6+BrftHWS1XZXhfC7SVVD\r\nW1HpB/NsXW8JI4JYIDpHPt7cu4AElRZf7WCw7GcyegAqY/NJ2WSLJhmRe4na\r\nCV9xuHdVSI8r4sb/erA3ssmBtxrQldyKNX1C38bhc8nIYV3L50Yosz5khll4\r\n20oo3I4K1eb0B40z0GuEmtjrq2/ANV08gMWpjrRRHGr7Q/bZ97owdW/mpRiK\r\nfTKYbZzoOhBj9yjS6Kn5m2r9WYllDWiXEbfnJBITIdCaEnk2UxmaIfnmovjD\r\nFWQvBakLuEl+756tDWn63ljj1t1I6ebzLHLc3QbpCZLGDl2l1DbE9lJ98uL4\r\nalBOPFUryB2V/iVd4gdxDxrUJ+jXHb2eOGfZoGk8bkF/hM1ZihbhEzYAvHxQ\r\nF/AMgu9u0/pRgIqRwuwNotHBft+gNJffklI=\r\n=yeEK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-config-vue_2.0.0_1657610861352_0.3849116736486684"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-12T07:27:41.299Z","2.0.0":"2022-07-12T07:27:41.560Z","modified":"2022-07-12T07:27:41.693Z"},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"description":"My Stylelint vue config presets","homepage":"https://github.com/condorheroblog/stylelint-config#readme","keywords":["eslint","Stylelint-config-vue","Stylelint-config-preset"],"repository":{"type":"git","url":"git+https://github.com/condorheroblog/stylelint-config.git","directory":"packages/vue"},"author":"CondorHero","bugs":{"url":"https://github.com/condorheroblog/stylelint-config/issues"},"license":"MIT","readme":"# @condorhero/stylelint-config-vue\n\n<p align=\"center\">\n    My stylelint config Vue presets\n</p>\n\n\n<p align=\"center\">\n    <a href=\"https://www.npmjs.com/package/@condorhero/stylelint-config\" target=\"__blank\">\n        <img src=\"https://img.shields.io/npm/v/@condorhero/stylelint-config?color=a1b858&label=\" alt=\"NPM version\">\n    </a>\n    <a href=\"https://www.npmjs.com/package/@condorhero/stylelint-config\" target=\"__blank\">\n        <img alt=\"NPM Downloads\" src=\"https://img.shields.io/npm/dm/@condorhero/stylelint-config?color=50a36f&label=\">\n    </a>\n    <br />\n</p>\n\n- The(stylelint-config-standard) standard shareable config for Stylelint.\n- stylelint-config-recess-order is Recess-based property sort order for Stylelint.\n- Lint also for CSS, HTML, markdown, css-modules, bem, SCSS.\n- Auto fix for formatting.\n- Vue out-of-box.\n- Sorted CSS properties.\n\n## Usage\n\n### Install\n\n```bash\npnpm add -D eslint @condorhero/stylelint-config-vue\n```\n\n### Config `.stylelintrc`\n\n```json\n{\n  \"extends\": \"@condorhero/stylelint-config-vue\"\n}\n```\n\n> You can use a [`.stylelintignore`](https://stylelint.io/user-guide/ignore-code#files-entirely) file to ignore specific files, Alternatively, you can add an [ignoreFiles property](https://stylelint.io/user-guide/configure#ignorefiles) within your configuration object.**It is recommended to use the CLI command to specify the format file suffix**, For example: `stylelint src/**/*.{css,html,md}`).\n\n### Add script for package.json\n\nFor example:\n\n```json\n{\n  \"scripts\": {\n    \"stylelint\": \"stylelint **/*.{css,html,md,vue}\",\n    \"stylelint:fix\": \"stylelint **/*.{css,html,md,vue} --fix\"\n  }\n}\n```\n\n### Config VS Code auto fix\n\nCreate `.vscode/settings.json`\n\n```json\n{\n  \"css.validate\": false,\n  \"less.validate\": false,\n  \"scss.validate\": false,\n\n  \"editor.formatOnSave\": false,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.stylelint\": true\n  },\n  \"files.autoSaveDelay\": 500,\n}\n```\n> link: https://github.com/stylelint/vscode-stylelint/issues/35\n\n## Check Also\n\n1. [@condorhero/stylelint-config](../../README.md)\n\n## Contribution Guide\n\nHey there! We are really excited that you are interested in contributing. This is a general contribution guide. Before submitting your contribution, please make sure to take a moment and read through the following guide:\n\n### PackageManager\n\n- latest [pnpm](https://pnpm.io/)\n\n### Update Dependencies\n\nKeeping dependencies up-to-date is one of the important aspects to keep projects alive and getting latest bug fixes on time. We recommend to update dependencies in weekly or bi-weekly intervals.\n\nWe use [taze](https://github.com/antfu/taze) to update the dependencies manually most of the time. As deps updating bots like Dependabot or Renovate could be a bit annoying when you have a lot projects.\n\nWith [taze](https://github.com/antfu/taze), you can run [taze](https://github.com/antfu/taze) major -Ir to check and select the versions to update interactive. -I stands for --interactive, -r stands for --recursive for monorepo.\n\n**I usually use:**\n\n```zsh\ntaze -r major && taze -w\n```\n\nAfter bumpping, we install them, runing build and test to verify nothing breaks before pushing to main.\n\n### monorepo\n\n![stylelint-config](https://user-images.githubusercontent.com/47056890/173309864-cb19da18-2531-4407-9f07-f17e00616f90.png)\n\n<details>\n<summary>for npm（My backup）</summary>\n\n<br />\n\n```zsh\n# add a monorepo，package.json adds a new field workspaces, which you can also add manually\nnpm init -w ./packages/typescript\n\n# Run \"test\" script on all packages\nnpm run test --workspaces\n# Tip - this also works:\nnpm run test  -ws\n\n# To run a command for a specific package, add the --workspace (singular) flag:\n# Runs \"test\" only on package-a\nnpm run test --workspace package-a\n\n# Tip - this also works:\nnpm run test -w package-a\n```\n\n\n<br />\n</details>\n\n\n<details>\n<summary>for pnpm:</summary>\n\n<br />\n\n```zsh\n# add a file pnpm-workspace.yaml\n# for example:\npackages:\n  - 'packages/*'\n\n\n# Run \"test\" script on all packages\npnpm run test -r\n# Tip - this also works:\npnpm run test --recursive\n\n# To run a command for a specific package, add the --workspace and --filter flag:\n# Runs \"test\" only on package-a\nnpm run test --recursive --filter=\"package-a\"\n\n# Tip - this also works:\nnpm run test -r -F=\"package-a\"\n```\n\n\n> Note: pnpm -w is --workspace-root\nRun as if pnpm was started in the root of the [workspace](https://pnpm.io/workspaces) instead of the current working directory.\n\n<br />\n</details>\n\n\n### Commit Convention\nWe use [Conventional Commits](https://www.conventionalcommits.org/) for commit messages, which allows the changelog to be auto-generated based on the commits. Please read the guide through if you aren't familiar with it already.\n\n### EditorConfig\n\nEditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.\n\nVS Code need download Plugin - [EditorConfig for VS Code](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig).\n\n## License\n\n[MIT](https://github.com/condorheroblog/stylelint-config/blob/main/LICENSE)\n","readmeFilename":""}