{"id":14978343,"url":"https://github.com/mia-platform/eslint-config-mia","last_synced_at":"2025-06-29T09:04:31.825Z","repository":{"id":46820612,"uuid":"99138916","full_name":"mia-platform/eslint-config-mia","owner":"mia-platform","description":"ESLint Config for JavaScript Mia-Platform Style","archived":false,"fork":false,"pushed_at":"2024-10-17T10:53:34.000Z","size":53,"stargazers_count":10,"open_issues_count":3,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-10T09:27:26.744Z","etag":null,"topics":["development","ecmascript","es2018","eslint-config","javascript","linter-config","mia-platform","nodejs","style-guide"],"latest_commit_sha":null,"homepage":"https://www.mia-platform.eu","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/mia-platform.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}},"created_at":"2017-08-02T16:32:17.000Z","updated_at":"2025-05-06T22:05:44.000Z","dependencies_parsed_at":"2023-07-17T23:07:59.543Z","dependency_job_id":"9f62cc7e-7de1-4deb-972d-72012c0884be","html_url":"https://github.com/mia-platform/eslint-config-mia","commit_stats":{"total_commits":81,"total_committers":7,"mean_commits":"11.571428571428571","dds":0.5061728395061729,"last_synced_commit":"dea39a2642f783dda3ba4e072a8ebb527203ad05"},"previous_names":["makeitapp/eslint-config-mia"],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mia-platform%2Feslint-config-mia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mia-platform%2Feslint-config-mia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mia-platform%2Feslint-config-mia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mia-platform%2Feslint-config-mia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mia-platform","download_url":"https://codeload.github.com/mia-platform/eslint-config-mia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mia-platform%2Feslint-config-mia/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259215684,"owners_count":22823118,"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":["development","ecmascript","es2018","eslint-config","javascript","linter-config","mia-platform","nodejs","style-guide"],"created_at":"2024-09-24T13:57:26.793Z","updated_at":"2025-06-29T09:04:31.808Z","avatar_url":"https://github.com/mia-platform.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# eslint-config-mia\n\n[![Build Status][travis-svg]][travis-org]\n[![javascript style guide][standard-mia-svg]][standard-mia]\n[![NPM version][npmjs-svg]][npmjs-com]\n\n\u003c/div\u003e\n\n**The ESLint [Shareable Config][share-config] for Mia-Platform JavaScript Style**\n\n## Getting Started\n\n### Install\n\nThe package require `eslint` to work, to list the correct version you can run:\n\n```sh\nnpm info \"@mia-platform/eslint-config-mia@latest\" peerDependencies\n```\n\n### NPM 5+\n\nYou can run this command:\n\n```sh\nnpx install-peerdeps --dev @mia-platform/eslint-config-mia\n```\n\n### NPM \u003c5\n\n#### Linux/macOS\n\nYou can run this command:\n\n```sh\n(\nexport PKG=\"@mia-platform/eslint-config-mia\";\n  npm info \"${PKG}@latest\" peerDependencies --json | command sed 's/[\\{\\},]//g ; s/: /@/g' | xargs npm install --save-dev \"${PKG}@latest\"\n)\n```\n\nWhich produces and runs a command like:\n\n```sh\nnpm install --save-dev @mia-platform/eslint-config-mia eslint@^#.#.#\n```\n\n#### Windows\n\nIf using **npm \u003c 5**, Windows users can either install all the peer dependencies manually,\nor use the [install-peerdeps](https://github.com/nathanhleung/install-peerdeps) cli tool.\n\n```sh\nnpm install -g install-peerdeps\ninstall-peerdeps --dev @mia-platform/eslint-config-mia\n```\n\nThe cli will produce and run a command like:\n\n```sh\nnpm install --save-dev @mia-platform/eslint-config-mia eslint@^#.#.#\n```\n\n## How to use it\n\nESLint Shareable Configs are meant to work with the `extends` feature of the `.eslintrc` file.  \nYou can learn more about [Shareable Config][share-config] on the official ESLint website.\n\nTo set up the config add a file named `.eslintrc` with this content:\n\n```json\n{\n  \"extends\": \"@mia-platform/eslint-config-mia\"\n}\n```\n\nThen you can override settings from the shareable configuration by adding them directly\ninto your `.eslintrc` file.\n\nOr you can add this snippet in your `package.json` and add the override inside the `eslintConfig`\nobject:\n\n```json\n\"eslintConfig\": {\n  \"extends\": \"@mia-platform/eslint-config-mia\"\n}\n```\n\nThen you can add a new script in your `package.json` like this:\n\n```json\n\"scripts\": {\n  \"lint\": \"eslint . --ignore-path .gitignore\"\n}\n```\n\nThe `--ignore-path` can be ignored (🙃) if you already have a `.eslintignore` file. We raccomend to use it\nfor avoiding to parse and lint files that will not be committed.\n\n## Badge\n\nYou want to show that you use this in your project? Feel free to add this badge to your README file.\n\n[![javascript style guide][standard-mia-svg]][standard-mia]\n\n```markdown\n[![javascript style guide](https://img.shields.io/badge/code_style-standard--mia-orange.svg)](https://github.com/mia-platform/eslint-config-mia)\n```\n\n[travis-svg]: https://travis-ci.org/mia-platform/eslint-config-mia.svg?branch=master\n[travis-org]: https://travis-ci.org/mia-platform/eslint-config-mia\n[standard-mia-svg]: https://img.shields.io/badge/code_style-standard--mia-orange.svg\n[standard-mia]: https://github.com/mia-platform/eslint-config-mia\n[npmjs-svg]: https://img.shields.io/npm/v/@mia-platform/eslint-config-mia.svg?logo=npm\n[npmjs-com]: https://www.npmjs.com/package/@mia-platform/eslint-config-mia\n[share-config]: http://eslint.org/docs/developer-guide/shareable-configs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmia-platform%2Feslint-config-mia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmia-platform%2Feslint-config-mia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmia-platform%2Feslint-config-mia/lists"}