{"id":20159521,"url":"https://github.com/transloadit/eslint-config-transloadit","last_synced_at":"2025-04-09T23:36:31.689Z","repository":{"id":39593863,"uuid":"339742971","full_name":"transloadit/eslint-config-transloadit","owner":"transloadit","description":"Transloadit eslint rules","archived":false,"fork":false,"pushed_at":"2023-10-02T09:06:18.000Z","size":504,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-24T01:25:11.070Z","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/transloadit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-17T14:05:40.000Z","updated_at":"2023-02-04T09:02:23.000Z","dependencies_parsed_at":"2024-06-19T06:14:43.055Z","dependency_job_id":"8fb604a7-9a3c-4592-a429-b5dc1f6b5468","html_url":"https://github.com/transloadit/eslint-config-transloadit","commit_stats":{"total_commits":67,"total_committers":5,"mean_commits":13.4,"dds":0.582089552238806,"last_synced_commit":"e18270e6db1bf23f22eff404a5cca3c326ae73b0"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transloadit%2Feslint-config-transloadit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transloadit%2Feslint-config-transloadit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transloadit%2Feslint-config-transloadit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transloadit%2Feslint-config-transloadit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transloadit","download_url":"https://codeload.github.com/transloadit/eslint-config-transloadit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927301,"owners_count":21019506,"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-11-14T00:08:44.108Z","updated_at":"2025-04-09T23:36:31.660Z","avatar_url":"https://github.com/transloadit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-transloadit\n\nTransloadit eslint rules\n\n[eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb), with a dash of [standard](https://github.com/standard/standard) and a pinch of [transloadit](https://github.com/transloadit) 🤏\n\n## Installing\n\n1. Install the correct versions of each package, which are listed by the command:\n\n  ```sh\n  npm info \"eslint-config-transloadit@latest\" peerDependencies\n  ```\n\n  If using **npm 5+**, use this shortcut\n\n  ```sh\n  npx install-peerdeps --dev eslint-config-transloadit\n  ```\n\n  If using **yarn**, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly.\n\n2. `npm install --save-dev eslint-config-transloadit`\n\n3. Add `\"extends\": \"transloadit\"` to your `.eslintrc`\n\nSee also [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb)\n\n## Version 2\n\n### Newly enforced rules\n\nWhen upgrading to v2, these can be overridden and set to `warn` in consuming projects at first:\n\n- [Rule of Hooks](https://github.com/airbnb/javascript/blob/1eadb93e377da1e56c3f91f26610e5d0a00738a9/packages/eslint-config-airbnb/rules/react-hooks.js) https://reactjs.org/docs/hooks-rules.html\n- `no-unreachable-loop`\n- `max-classes-per-file` is set to 1 (from airbnb)\n- `one-var` (from airbnb)\n- `no-underscore-dangle` (from airbnb)\n- `comma-dangle` now also enforces: `\"functions: 'always-multiline'\"` (from airbnb)\n- `operator-linebreak` is now `none` (from airbnb), meaning there can be no linebreak before or after `=`\n\n### No longer enforced rules\n`off`/`warn`-overrides for these inside consuming projects can be deleted:\n- `react/jsx-one-expression-per-line`\n- `no-await-in-loop`\n\nSee also https://github.com/transloadit/eslint-config-transloadit/pull/12/commits/2200e5f227dcc3893d5d81a80ca35e546c43bc06\n\n## Version 3\n\n### Breaking changes\n\n- `@babel/eslint-parser` is no longer the default. If you are using syntax\n  that's not supported by the default parser of the ESLint version you are\n  using, you need to add `parser: '@babel/eslint-parser'` to your `.eslintrc.js`\n  and adjust the [`parserOptions`](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options)\n  property. You probably also want to add `@babel/eslint-plugin` to the list of plugins.\n- Remove peer dependencies `@babel/core`, `@babel/eslint-parser` and `@babel/eslint-plugin`\n- Add `peerDependency` `eslint-plugin-transloadit` and added rule `transloadit/no-useless-iife`\n- Upgrade `peerDependency` `eslint-plugin-promise` from 4 to 6\n- Remove `eslint-plugin-jest`\n- Upgrade `eslint-config-airbnb` from 18 to 19\n- Add rule `no-implicit-coercion`\n\n## Releasing\n\n- `npm i -g np`\n- `np`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransloadit%2Feslint-config-transloadit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransloadit%2Feslint-config-transloadit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransloadit%2Feslint-config-transloadit/lists"}