{"id":19647253,"url":"https://github.com/ibexa/eslint-config-ibexa","last_synced_at":"2025-02-27T00:19:59.770Z","repository":{"id":40271548,"uuid":"400473954","full_name":"ibexa/eslint-config-ibexa","owner":"ibexa","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-22T12:07:40.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-01-22T13:26:02.513Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibexa.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-08-27T10:35:18.000Z","updated_at":"2025-01-22T12:07:44.000Z","dependencies_parsed_at":"2024-03-11T15:31:05.008Z","dependency_job_id":"037e2108-9649-40c4-89a8-250f8f3a768e","html_url":"https://github.com/ibexa/eslint-config-ibexa","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Feslint-config-ibexa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Feslint-config-ibexa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Feslint-config-ibexa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Feslint-config-ibexa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibexa","download_url":"https://codeload.github.com/ibexa/eslint-config-ibexa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240954125,"owners_count":19884124,"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":["hacktoberfest"],"created_at":"2024-11-11T14:43:03.454Z","updated_at":"2025-02-27T00:19:59.750Z","avatar_url":"https://github.com/ibexa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ibexa ESLint config\n\n## Installation and setup\nIn order to use this config, add into `package.json` lines:\n```\n{\n    \"prettier\": \"eslint-config-ibexa/prettier\",\n    \"devDependencies\": {\n        \"eslint-config-ibexa\": \"https://github.com/ibexa/eslint-config-ibexa.git#v1.1.0\"\n    },\n    \"scripts\": {\n        \"test\": \"yarn prettier-test \u0026\u0026 yarn eslint-test\",\n        \"fix\": \"yarn prettier-test --write \u0026\u0026 yarn eslint-test --fix\",\n        \"eslint-test\": \"eslint \\\"./src/bundle/Resources/**/*.js\\\" \\\"./src/bundle/ui-dev/**/*.js\\\"\",\n        \"prettier-test\": \"yarn prettier \\\"./src/bundle/Resources/**/*.{js,scss}\\\" \\\"./src/bundle/ui-dev/**/*.js\\\" --check\"\n    }\n}\n\n```\nIf there are is no `ui-dev` modules, remove corresponding paths from two last commands.\n\nAdd also `.eslintrc.json` and paste into it:\n```\n{\n    \"extends\": \"eslint-config-ibexa/eslint\"\n}\n```\n\nInside bundle directory run `yarn install`. Everything is ready to use.\nREMEBER: without this command, neither eslint nor prettier will work in your text editor.\n\n## How To Lint and Format Code with ESLint in Visual Studio Code\n\n### Install ESLint Extension\nNavigate to Extensions tab and search for ESLint and install it. Do the same for Prettier extension.\n\n### Format on Save\nUse the command palette to open **Preferences: Open Workspace Settings (JSON)**. Paste this fragment in opened file:\n```\n{\n    \"editor.codeActionsOnSave\": {\n        \"source.fixAll.eslint\": true\n    },\n    \"eslint.validate\": [\"javascript\"]\n}\n```\nSave and restart editor.\n\n## Quick installation\nCreate bash file and paste into it:\n```\n#!/usr/bin/env bash\n\ncd vendor/ibexa\nfor d in */; do\n    cd $d\n    if test -f \"package.json\"; then\n        yarn install\n    fi\n    cd ../\ndone\n```\nChange its permissions to executable. Run it from main project directory.\nIt will install modules in all bundles.\n\n## COPYRIGHT\nCopyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.\n\n## LICENSE\nThis source code is available separately under the following licenses:\n\nA - Ibexa Business Use License Agreement (Ibexa BUL),\nversion 2.4 or later versions (as license terms may be updated from time to time)\nIbexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,\nas described at: https://www.ibexa.co/product\nFor the full Ibexa BUL license text, please see:\n- LICENSE-bul file placed in the root of this source code, or\n- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)\n\nAND\n\nB - GNU General Public License, version 2\nGrants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:\n- LICENSE file placed in the root of this source code, or\n- https://www.gnu.org/licenses/old-licenses/gpl-2.0.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Feslint-config-ibexa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibexa%2Feslint-config-ibexa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Feslint-config-ibexa/lists"}