{"id":20666289,"url":"https://github.com/devpow112/eslint-config","last_synced_at":"2025-04-19T16:42:02.682Z","repository":{"id":38094760,"uuid":"424952544","full_name":"devpow112/eslint-config","owner":"devpow112","description":":clipboard: Shareable eslint configuration","archived":false,"fork":false,"pushed_at":"2025-04-15T13:36:25.000Z","size":1067,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T07:51:52.023Z","etag":null,"topics":["github-actions","nodejs"],"latest_commit_sha":null,"homepage":"https://npmjs.com/@devpow112/eslint-config","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/devpow112.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":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-05T13:10:56.000Z","updated_at":"2025-04-15T13:36:28.000Z","dependencies_parsed_at":"2023-02-18T10:01:23.993Z","dependency_job_id":"b357db01-4b43-44d9-8db2-d36956b3e708","html_url":"https://github.com/devpow112/eslint-config","commit_stats":{"total_commits":177,"total_committers":4,"mean_commits":44.25,"dds":0.4067796610169492,"last_synced_commit":"f0dd684d0ed21afa3c16482cc91f6530b062e857"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpow112%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpow112%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpow112%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devpow112%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devpow112","download_url":"https://codeload.github.com/devpow112/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249708889,"owners_count":21313942,"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":["github-actions","nodejs"],"created_at":"2024-11-16T19:36:32.437Z","updated_at":"2025-04-19T16:42:02.638Z","avatar_url":"https://github.com/devpow112.png","language":"JavaScript","readme":"# ESLint Configuration\n\n[![License][License Badge]](LICENSE)\n[![Version][Version Badge]][Version Package]\n[![Release][Release Badge]][Release Workflow]\n[![Node Version][Node Version Badge]](package.json#L56)\n\nShareable eslint configuration.\n\n## Installation\n\n```console\nnpm i -D @devpow112/eslint-config\n```\n\n## Usage\n\nThe shareable config can be configured in the [ESLint Configuration] file. There\nare currently 2 config types `node` and `test`.\n\n```js\nconst { FlatCompat } = require('@eslint/eslintrc');\nconst js = require('@eslint/js');\nconst path = require('node:path');\n\nconst compat = new FlatCompat({\n  baseDirectory: __dirname,\n  recommendedConfig: js.configs.recommended,\n  allConfig: js.configs.all\n});\n\nmodule.exports = [...compat.extends('@devpow112/eslint-config')];\n```\n\n## Development\n\nDevelopment can be done on any machine that can install **Node.js**. Only the\nlatest LTS version is tested against.\n\n### Install Dependencies\n\nInstall dependencies via `npm`.\n\n```console\nnpm i\n```\n\n### Linting\n\nExecute linters via `npm`.\n\n```console\n# git, javascript, markdown and package.json\nnpm run lint\n\n# git only\nnpm run lint:git\n\n# javascript only\nnpm run lint:js\n\n# markdown only\nnpm run lint:md\n\n# package.json only\nnpm run lint:pkg\n```\n\n### Fixing\n\nExecute automatic fixers via `npm`.\n\n```console\n# javascript, markdown and package.json\nnpm run fix\n\n# javascript only\nnpm run fix:js\n\n# markdown only\nnpm run fix:md\n\n# package.json only\nnpm run fix:pkg\n```\n\n\u003c!-- links --\u003e\n[License Badge]: https://img.shields.io/github/license/devpow112/eslint-config?label=License\n[Version Badge]: https://img.shields.io/npm/v/@devpow112/eslint-config?label=Version\n[Version Package]: https://www.npmjs.com/@devpow112/eslint-config\n[Node Version Badge]: https://img.shields.io/node/v/@devpow112/eslint-config\n[Release Badge]: https://github.com/devpow112/eslint-config/actions/workflows/release.yml/badge.svg?branch=main\n[Release Workflow]: https://github.com/devpow112/eslint-config/actions/workflows/release.yml?query=branch%3Amain\n[ESLint Configuration]: https://eslint.org/docs/user-guide/configuring\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpow112%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevpow112%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevpow112%2Feslint-config/lists"}