{"id":21280829,"url":"https://github.com/consensysmesh/web3studio-standards","last_synced_at":"2025-10-27T03:19:09.790Z","repository":{"id":44134563,"uuid":"169256552","full_name":"ConsenSysMesh/web3studio-standards","owner":"ConsenSysMesh","description":"Standards repo for sharable linting and configuration tools","archived":false,"fork":false,"pushed_at":"2022-12-10T18:06:57.000Z","size":1291,"stargazers_count":4,"open_issues_count":15,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-27T15:57:59.546Z","etag":null,"topics":["web3studio-internal"],"latest_commit_sha":null,"homepage":null,"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/ConsenSysMesh.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":"2019-02-05T14:45:28.000Z","updated_at":"2024-01-02T21:55:00.000Z","dependencies_parsed_at":"2023-01-26T05:20:31.248Z","dependency_job_id":null,"html_url":"https://github.com/ConsenSysMesh/web3studio-standards","commit_stats":null,"previous_names":["consensys/web3studio-standards"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2Fweb3studio-standards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2Fweb3studio-standards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2Fweb3studio-standards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2Fweb3studio-standards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConsenSysMesh","download_url":"https://codeload.github.com/ConsenSysMesh/web3studio-standards/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2Fweb3studio-standards/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259207639,"owners_count":22821729,"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":["web3studio-internal"],"created_at":"2024-11-21T10:41:18.658Z","updated_at":"2025-10-27T03:19:04.754Z","avatar_url":"https://github.com/ConsenSysMesh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web3Studio Standards\n\nA collection of boilerplate config to be used by Web3Studio projects.\n\n## Installation\n\n```bash\n$ yarn add --dev eslint-config-web3studio eslint prettier pretty-quick husky\n\n# For projects with Smart Contracts\n$ yarn add --dev solhint-config-web3studio solhint prettier-plugin-solidity\n```\n\nIn your `.eslintrc.js` file:\n\n```js\nmodule.exports = {\n  extends: [\n    'web3studio',\n    'web3studio/truffle' // For projects using truffle\n  ]\n};\n```\n\nIn your `.prettierrc.js` file:\n\n```js\nmodule.exports = require('eslint-config-web3studio/prettier');\n```\n\nIn your `.solhint.json` file:\n\n```json\n{\n  \"extends\": [\"solhint:recommended\", \"web3studio\"]\n}\n```\n\nIn your `package.json` file:\n\n```json\n{\n  \"husky\": {\n    \"hooks\": {\n      \"pre-commit\": \"pretty-quick --staged\"\n    }\n  },\n  \"scripts\": {\n    \"lint\": \"yarn lint:js \u0026\u0026 yarn lint:sol\",\n    \"lint:js\": \"eslint .\",\n    \"lint:sol\": \"solhint \\\"**/*.sol\\\"\",\n    \"prettier\": \"prettier \\\"**/*.{js,json,css,md,sol}\\\" --write\"\n  }\n}\n```\n\n## Releasing a New Version\n\n**NB:** For maintainers only.\n\n`web3studio-standards` uses [Semver](https://semver.org/) for versioning.\nBased on the changes since the last release, determine which type of\nrelease this is, `major`, `minor`, or `patch`.\n\nUse lerna to update all of the packages to the new version, and create a pull\nrequest. Travis will handle publishing to npm.\n\nFor example, to release a new major version...\n\n```bash\n$ git checkout -b release/v1.0.0\n$ yarn lerna:version major\n$ git push origin release/v1.0.0 --follow-tags\n\n# Open a pull request from `release/v1.0.0` =\u003e `master`\n```\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsensysmesh%2Fweb3studio-standards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsensysmesh%2Fweb3studio-standards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsensysmesh%2Fweb3studio-standards/lists"}