{"id":22096510,"url":"https://github.com/uphold/eslint-config-uphold","last_synced_at":"2025-07-24T22:32:09.110Z","repository":{"id":22901490,"uuid":"97625813","full_name":"uphold/eslint-config-uphold","owner":"uphold","description":"Uphold-flavored ESLint config","archived":false,"fork":false,"pushed_at":"2024-11-12T02:12:31.000Z","size":683,"stargazers_count":4,"open_issues_count":5,"forks_count":1,"subscribers_count":59,"default_branch":"master","last_synced_at":"2024-11-12T02:17:43.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/uphold.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-18T17:28:43.000Z","updated_at":"2024-05-18T00:08:38.000Z","dependencies_parsed_at":"2024-05-16T15:58:49.845Z","dependency_job_id":"0f6a32e3-ed7e-4292-993c-335d90cc24b6","html_url":"https://github.com/uphold/eslint-config-uphold","commit_stats":{"total_commits":93,"total_committers":16,"mean_commits":5.8125,"dds":0.8602150537634409,"last_synced_commit":"bd8f3d48eb2a1dc75c3bde8fca153861419dc4a8"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphold%2Feslint-config-uphold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphold%2Feslint-config-uphold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphold%2Feslint-config-uphold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uphold%2Feslint-config-uphold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uphold","download_url":"https://codeload.github.com/uphold/eslint-config-uphold/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227482485,"owners_count":17779968,"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-12-01T04:11:21.451Z","updated_at":"2025-07-24T22:32:09.098Z","avatar_url":"https://github.com/uphold.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-uphold\n\nUphold-flavored [ESLint](https://eslint.org/) config.\n\nThe [rules defined here](https://github.com/uphold/eslint-config-uphold/blob/master/src/index.js)\nextend the [eslint-recommended](https://github.com/eslint/eslint/blob/master/conf/eslint-recommended.js) preset,\nas well as the [overrides](https://github.com/prettier/eslint-config-prettier/blob/master/index.js)\nthat allow the [Prettier](https://prettier.io) pretty-printer to reformat the code without conflicts.\n\n## Status\n\n[![npm version][npm-image]][npm-url]\n\n## Installation\n\n```sh\nnpm install eslint eslint-config-uphold prettier --save-dev\n```\n\n\u003e [!WARNING]\n\u003e Node.js minimum versions are `v23.0.0`, `v22.12.0` and `v20.19.0`, as `@stylistic/eslint-plugin-js` depends on the `require('esm')` module from `v4.0.0`.\n\n## Usage\n\nCreate an `eslint.config.js` file with the following content:\n\n```js\nconst uphold = require('eslint-config-uphold');\n\nmodule.exports = uphold;\n```\n\nIf you'd like to extend the config, or change rules, you can do so like this:\n\n```js\nconst { defineConfig } = require('eslint/config');\nconst uphold = require('eslint-config-uphold');\nconst yourPlugin = require('your-eslint-plugin');\n\nmodule.exports = defineConfig([\n  {\n    extends: [uphold],\n    name: 'uphold-config',\n    plugins: {\n      'your-plugin': yourPlugin,\n    },\n    rules: {\n      'your-plugin/rule-name': 'error'\n    },\n  }\n]);\n```\n\nSee [Using a Shareable Config](https://eslint.org/docs/latest/extend/shareable-configs#using-a-shareable-config) for more information.\n\nAdd a `lint` command to the `scripts` section of your `package.json`, like so:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint\"\n  }\n}\n```\n\nand run the linter with:\n\n```sh\nnpm run lint\n```\n\nTo automatically fix all lint issues, use the `--fix` option:\n\n```sh\nnpm run lint --fix\n```\n\n## Upgrading ESLint\n\nSee the [ESLint repo](https://github.com/eslint/eslint#semantic-versioning-policy) for ESLint's guidelines on semantic versioning.\n\nA [tilde range](https://docs.npmjs.com/cli/v6/using-npm/semver#tilde-ranges-123-12-1) is set for the ESLint dependency to pick up any patch changes by default.\n\nFor any minor/major upgrades to ESLint it is recommended to update both `eslint` and `eslint-config-uphold` and keep them in parallel.\nThis is down to the fact that no guarantee is made that minor upgrades do not cause conflicts or issues with existing or new rules.\nThe downside here is a package update is required for any security or other bug fixes.\nThe benefit however is the included rules are always guaranteed to be stable.\n\n## Release process\n\nThe release of a version is automated via the [release](https://github.com/uphold/eslint-config-uphold/.github/workflows/release.yml) GitHub workflow.\nRun it by clicking the \"Run workflow\" button.\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/eslint-config-uphold.svg\n[npm-url]: https://www.npmjs.com/package/eslint-config-uphold\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuphold%2Feslint-config-uphold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuphold%2Feslint-config-uphold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuphold%2Feslint-config-uphold/lists"}