{"id":15174279,"url":"https://github.com/bamlab/bambi","last_synced_at":"2025-10-01T12:30:49.946Z","repository":{"id":26848172,"uuid":"110947817","full_name":"bamlab/bambi","owner":"bamlab","description":"BAM Beautiful (code) Inspection","archived":true,"fork":false,"pushed_at":"2023-01-25T08:22:34.000Z","size":684,"stargazers_count":3,"open_issues_count":16,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-09-19T04:54:40.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bamlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-16T08:58:53.000Z","updated_at":"2023-12-12T14:29:29.000Z","dependencies_parsed_at":"2023-02-14T06:02:00.141Z","dependency_job_id":null,"html_url":"https://github.com/bamlab/bambi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Fbambi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Fbambi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Fbambi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamlab%2Fbambi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bamlab","download_url":"https://codeload.github.com/bamlab/bambi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219866572,"owners_count":16554248,"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":[],"created_at":"2024-09-27T11:42:34.262Z","updated_at":"2025-10-01T12:30:44.659Z","avatar_url":"https://github.com/bamlab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-bambi\n\nShared ESLint configs for Node, Web, React Native, and Expo projects.\n\n## Credits\n\nThis is a friendly fork of eslint-config-universe from expo folks, as we want to configure special rules for our projects.\n\n## Installation\n\n```sh\nyarn add --dev eslint-config-bambi\n```\n\nYou will also need to install `eslint` and `prettier`:\n\n```sh\nyarn add --dev eslint prettier\n```\n\n## Usage\n\nImport this config into your own ESLint configuration using the `extends` option. ESLint checks both package.json and .eslintrc.* files for its configuration:\n\n### package.json\n\n```js\n{\n  \"eslintConfig\": {\n    // Choose from bambi/native, bambi/node, bambi/web\n    \"extends\": \"bambi\"\n  }\n}\n```\n\n### .eslintrc.js\n\n```js\nmodule.exports = {\n  extends: 'bambi',\n};\n```\n\n## Customizing Prettier\n\nIf you would like to customize the Prettier settings, create a file named `.prettierrc` in your project directory. This file must declare a Prettier configuration like this:\n\n```js\n{\n  \"printWidth\": 100,\n  \"tabWidth\": 2,\n  \"singleQuote\": true,\n  \"jsxBracketSameLine\": true,\n  \"trailingComma\": \"es5\"\n}\n```\n\n## Support for Different Platforms\n\nThere are several configs for different platforms. They are:\n\n* `bambi`: the basic config for JavaScript projects for which there isn't a more specific config\n* `bambi/native`: the config for React Native projects, including Expo projects, with support for React and JSX\n* `bambi/web`: the config for code that runs in web browsers, with support for React and JSX\n* `bambi/node`: the config for code that runs in Node\n\nFor an Expo project, your configuration might look like this:\n\n```js\n\"eslintConfig\": {\n  \"extends\": \"bambi/native\"\n}\n```\n\nYou also can extend multiple configs, which is useful for projects that span several platforms:\n\n```js\n\"eslintConfig\": {\n  \"extends\": [\"bambi/node\", \"bambi/web\"]\n}\n```\n\n## Philosophy\n\nThis config is designed to mark severe problems (ex: syntax errors) as errors and stylistic issues as warnings. This lets your team apply policies like, \"make sure a commit has no errors but ignore warnings if the commit didn't introduce them.\"\n\nIt's also designed to be a more lenient config for teams who are stronger at decision-making and have a culture of osmotically learning coding guidelines and benefit more from flexibility than rigid rules.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Fbambi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamlab%2Fbambi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamlab%2Fbambi/lists"}