{"id":23628270,"url":"https://github.com/croct-tech/coding-standard-js","last_synced_at":"2025-08-31T04:32:06.054Z","repository":{"id":36977887,"uuid":"455586926","full_name":"croct-tech/coding-standard-js","owner":"croct-tech","description":"The coding-standard for JavaScript projects.","archived":false,"fork":false,"pushed_at":"2024-08-31T15:56:54.000Z","size":1522,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-24T01:57:29.116Z","etag":null,"topics":["eslint","eslint-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/croct-tech.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-02-04T14:56:03.000Z","updated_at":"2024-05-01T03:31:20.000Z","dependencies_parsed_at":"2023-12-25T01:23:52.456Z","dependency_job_id":"803c25d5-d484-4ea6-924a-65e7d9cdb359","html_url":"https://github.com/croct-tech/coding-standard-js","commit_stats":{"total_commits":380,"total_committers":6,"mean_commits":"63.333333333333336","dds":"0.14210526315789473","last_synced_commit":"5f95fabe10d5d5e124007c73a7ea789f965b9a41"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croct-tech%2Fcoding-standard-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croct-tech%2Fcoding-standard-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croct-tech%2Fcoding-standard-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croct-tech%2Fcoding-standard-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/croct-tech","download_url":"https://codeload.github.com/croct-tech/coding-standard-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231573588,"owners_count":18394547,"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","eslint-plugin"],"created_at":"2024-12-28T00:32:31.215Z","updated_at":"2025-08-31T04:32:06.040Z","avatar_url":"https://github.com/croct-tech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://croct.com\"\u003e\n        \u003cimg src=\"https://cdn.croct.io/brand/logo/repo-icon-green.svg\" alt=\"Croct\" height=\"80\"/\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cstrong\u003eJavaScript Coding Standard\u003c/strong\u003e\n    \u003cbr /\u003e\n    A set of \u003ca href=\"https://eslint.org/\"\u003eESLint\u003c/a\u003e rules applied to all Croct JavaScript projects.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@croct/eslint-plugin\"\u003e\u003cimg alt=\"Version\" src=\"https://img.shields.io/npm/v/@croct/eslint-plugin\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/croct-tech/coding-standard-js/actions/workflows/branch-validations.yaml\"\u003e\n        \u003cimg alt=\"Build\" src=\"https://github.com/croct-tech/coding-standard-js/actions/workflows/branch-validations.yaml/badge.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://qlty.sh/gh/croct-tech/projects/coding-standard-js\"\u003e\u003cimg src=\"https://qlty.sh/badges/ec247c93-2b34-4051-8dc7-b346f947d95b/coverage.svg\" alt=\"Code Coverage\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://qlty.sh/gh/croct-tech/projects/coding-standard-js\"\u003e\u003cimg src=\"https://qlty.sh/badges/ec247c93-2b34-4051-8dc7-b346f947d95b/maintainability.svg\" alt=\"Maintainability\" /\u003e\u003c/a\u003e\n\u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/croct-tech/coding-standard-js/releases\"\u003e📦 Releases\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/croct-tech/coding-standard-js/issues\"\u003e🐞 Report Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/croct-tech/coding-standard-js/issues\"\u003e✨ Request Feature\u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\nThe recommended way to install the package is via [NPM](https://npmjs.com). It pairs nicely with module bundlers such as\nWebpack or Browserify:\n\n```sh\nnpm i -D @croct/eslint-plugin\n```\n\nThen, add the following to your `.eslintrc.js` file:\n\n```js\n// Workaround for https://github.com/eslint/eslint/issues/3458\nrequire(\"@rushstack/eslint-patch/modern-module-resolution\");\n\nmodule.exports = {\n   \"plugins\": [\"@croct\"]\n}\n```\n\nNote the `require` call at the top of the file. This is a workaround to avoid adding the transitive dependencies of \nthe plugin to the project, which is [currently not supported by the ESLint plugin system](https://github.com/eslint/eslint/issues/3458).\n\n### TypeScript\n\nFor TypeScript projects, you need first to install the TypeScript parser:\n\n```sh\nnpm i -D @typescript-eslint/parser\n```\n\nThen, add the following to your `.eslintrc.js` file:\n\n```js\n// Workaround for https://github.com/eslint/eslint/issues/3458\nrequire(\"@rushstack/eslint-patch/modern-module-resolution\");\n\nmodule.exports = {\n    \"parser\": \"@typescript-eslint/parser\",\n    \"plugins\": [\n      \"@croct\"\n    ],\n    \"extends\": [\n      \"plugin:@croct/typescript\"\n    ],\n    \"parserOptions\": {\n      \"extends\": \"./tsconfig.json\",\n      \"project\": [\"./tsconfig.json\"]\n    },\n}\n```\n\nFor the list for available presets and rules, see the [reference documentation](docs/README.md). \n\n## Basic usage\n\nRun the following command to check if the project adheres to the coding standard:\n\n```sh\neslint\n```\n\n## Contributing\n\nContributions to the package are always welcome!\n\n- Report any bugs or issues on the [issue tracker](https://github.com/croct-tech/coding-standard-js/issues).\n- For major changes, please [open an issue](https://github.com/croct-tech/coding-standard-js/issues) first to discuss what you would like to change.\n- Please make sure to update tests as appropriate.\n\n## Testing\n\nBefore running the test suites, the development dependencies must be installed:\n\n```sh\nnpm i\n```\n\nThen, to run all tests:\n\n```sh\nnpm run test\n```\n\n## Copyright Notice\n\nCopyright © 2015-2021 Croct Limited, All Rights Reserved.\n\nAll information contained herein is, and remains the property of Croct Limited. The intellectual, design and technical concepts contained herein are proprietary to Croct Limited s and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Croct Limited.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroct-tech%2Fcoding-standard-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcroct-tech%2Fcoding-standard-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroct-tech%2Fcoding-standard-js/lists"}