{"id":19724752,"url":"https://github.com/bigchaindb/stylelint-config-bigchaindb","last_synced_at":"2025-04-29T23:30:27.905Z","repository":{"id":57373471,"uuid":"92860673","full_name":"bigchaindb/stylelint-config-bigchaindb","owner":"bigchaindb","description":"💅 For consistent CSS across BigchainDB, IPDB, Ocean Protocol \u0026 ascribe's repos.","archived":false,"fork":false,"pushed_at":"2019-05-24T22:59:51.000Z","size":1711,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-18T09:46:38.136Z","etag":null,"topics":["ascribe","bigchaindb","cats","css","ipdb","linter","scss","stylelint","unicorns"],"latest_commit_sha":null,"homepage":"https://www.bigchaindb.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigchaindb.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-30T17:52:01.000Z","updated_at":"2020-06-15T20:24:59.000Z","dependencies_parsed_at":"2022-09-17T16:22:06.122Z","dependency_job_id":null,"html_url":"https://github.com/bigchaindb/stylelint-config-bigchaindb","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigchaindb%2Fstylelint-config-bigchaindb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigchaindb%2Fstylelint-config-bigchaindb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigchaindb%2Fstylelint-config-bigchaindb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigchaindb%2Fstylelint-config-bigchaindb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigchaindb","download_url":"https://codeload.github.com/bigchaindb/stylelint-config-bigchaindb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251599654,"owners_count":21615563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ascribe","bigchaindb","cats","css","ipdb","linter","scss","stylelint","unicorns"],"created_at":"2024-11-11T23:26:55.386Z","updated_at":"2025-04-29T23:30:26.870Z","avatar_url":"https://github.com/bigchaindb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [![stylelint-config-bigchaindb](media/repo-banner@2x.png)](https://www.bigchaindb.com)\n\n\u003e 💅 For consistent CSS across BigchainDB, IPDB \u0026 ascribe's repos. Extends on [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard)\n\n[![css bigchaindb](https://img.shields.io/badge/css-bigchaindb-39BA91.svg)](https://github.com/bigchaindb/stylelint-config-bigchaindb)\n[![js bigchaindb](https://img.shields.io/badge/js-bigchaindb-39BA91.svg)](https://github.com/ascribe/javascript)\n[![npm](https://img.shields.io/npm/v/stylelint-config-bigchaindb.svg)](https://www.npmjs.com/package/stylelint-config-bigchaindb)\n[![Build Status](https://travis-ci.org/bigchaindb/stylelint-config-bigchaindb.svg?branch=master)](https://travis-ci.org/bigchaindb/stylelint-config-bigchaindb)\n[![Greenkeeper badge](https://badges.greenkeeper.io/bigchaindb/stylelint-config-bigchaindb.svg)](https://greenkeeper.io/)\n\nThis cat clearly forgot to lint her CSS before deployment:\n\n![cat not linting correctly](media/cat-linter-fail.gif)\n\nDon't be like that cat.\n\n## Installation\n\n```bash\nnpm install stylelint-config-bigchaindb\n```\n\n## Usage\n\n### Setup\n\nAdd this to your `.stylelintrc` file:\n\n```json\n{\n    \"extends\": \"stylelint-config-bigchaindb\"\n}\n```\n\nIf you really know what you're doing™ you can change or disable individual rules globally in your project:\n\n```json\n{\n    \"extends\": \"stylelint-config-bigchaindb\",\n    \"rules\": {\n        \"selector-max-id\": 1,\n        \"selector-no-qualifying-type\": null\n    }\n}\n```\n\nOr disable blocks inline in your css:\n\n```scss\n/* stylelint-disable selector-list-comma-newline-after  */\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n    color: $that-pink-which-burns-my-eyes;\n}\n/* stylelint-enable */\n```\n\nIn general, try to never disable anything. Every time you disable even one rule one of those creatures gets killed:\n\n![disable punishment](media/disable-punishment.gif)\n\n### Linting\n\nUse `stylelint` against your css files, e.g.:\n\n```bash\nstylelint *.scss\n```\n\nOr lint in your editor with one of the many editor plugins for [stylelint](https://stylelint.io), e.g. for Atom:\n\n```bash\napm install linter-stylelint\n```\n\n## npm releases\n\nFor a new **patch release**, execute on the machine where you're logged into your npm account:\n\n```bash\nnpm run release\n```\n\nCommand is powered by [`release-it`](https://github.com/webpro/release-it) package, defined in the `package.json`.\n\nThat's what the command does without any user interaction:\n\n- create release commit by updating version in `package.json`\n- create tag for that release commit\n- push commit \u0026 tag\n- create a new release on GitHub, with change log auto-generated from commit messages\n- publish to npm as a new release\n\nIf you want to create a **minor** or **major release**, use these commands:\n\n```bash\nnpm run release-minor\n```\n\n```bash\nnpm run release-major\n```\n\n## License\n\n```\nCopyright 2017 BigchainDB GmbH\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigchaindb%2Fstylelint-config-bigchaindb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigchaindb%2Fstylelint-config-bigchaindb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigchaindb%2Fstylelint-config-bigchaindb/lists"}