{"id":18645618,"url":"https://github.com/fliplet/eslint-config-client","last_synced_at":"2025-04-11T12:31:23.535Z","repository":{"id":42627578,"uuid":"237183728","full_name":"Fliplet/eslint-config-client","owner":"Fliplet","description":"ESLint configuration for JS code running in Fliplet apps","archived":false,"fork":false,"pushed_at":"2024-03-27T15:11:34.000Z","size":54,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T07:57:19.796Z","etag":null,"topics":["eslint"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fliplet.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-30T09:53:12.000Z","updated_at":"2022-12-14T23:11:34.000Z","dependencies_parsed_at":"2024-06-21T02:36:10.104Z","dependency_job_id":"1b4b7972-291b-49e0-9454-3d10ff5ae1c0","html_url":"https://github.com/Fliplet/eslint-config-client","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.4473684210526315,"last_synced_commit":"6d7dc125a6ece1d66c6d3f7a8e05c6951952f310"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fliplet%2Feslint-config-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fliplet%2Feslint-config-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fliplet%2Feslint-config-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fliplet%2Feslint-config-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fliplet","download_url":"https://codeload.github.com/Fliplet/eslint-config-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401955,"owners_count":21097328,"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":["eslint"],"created_at":"2024-11-07T06:16:39.512Z","updated_at":"2025-04-11T12:31:23.328Z","avatar_url":"https://github.com/Fliplet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESLint config for JS code in Fliplet apps\n\n## Installation\n\n```bash\nnpm install --save-dev eslint-config-fliplet\n```\n\nMake sure the `package-lock.json` file is committed too.\n\n## Usage\n\nOnce the `eslint-config-fliplet` package is installed, you can use it by specifying `fliplet` in the [`extends`](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) section of your `.eslintrc` [ESLint configuration](http://eslint.org/docs/user-guide/configuring).\n\n```js\n{\n  \"extends\": \"fliplet\",\n  \"rules\": {\n    // Additional, per-project rules...\n  }\n}\n```\n\n### Using the `fliplet` config with `eslint:recommended`\n\nThere are several rules in the [`eslint:recommended` rule set](http://eslint.org/docs/rules/) that Fliplet style is not opinionated about that you might want to enforce in your project.\n\nTo use Fliplet style in conjunction with ESLint's recommended rule set, extend them both, making sure to list `fliplet` last:\n\n```js\n{\n  \"extends\": [\"eslint:recommended\", \"fliplet\"],\n  \"rules\": {\n    // Additional, per-project rules...\n  }\n}\n```\n\nTo see how the `fliplet` config compares with `eslint:recommended`, refer to the source code of `index.js`, which lists every ESLint rule along with whether (and how) it is enforced by the `fliplet` config.\n\n### Configure GitHub for automated linting\n\n1. Add `main.yml` workflow file in the root directory for the repository. See `example/main.yml` for a sample file.\n2. Amend `package.json` file to link to the script:\n\n```js\n{\n  \"scripts\": {\n    \"eslint:github-action\": \"eslint .\"\n  }\n}\n```\n\n Once the setup is complete, each commit will trigger a build that creates annotations for all problems found ([see example](https://github.com/Fliplet/fliplet-widget-form-builder/actions/runs/378678895)).\n\n## License\n\nApache-2 © Fliplet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffliplet%2Feslint-config-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffliplet%2Feslint-config-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffliplet%2Feslint-config-client/lists"}