{"id":20020663,"url":"https://github.com/netcentric/eslint-config","last_synced_at":"2026-05-13T03:32:47.767Z","repository":{"id":157557994,"uuid":"620288148","full_name":"Netcentric/eslint-config","owner":"Netcentric","description":"Cognizant Netcentric's coding and style rules for ESLint","archived":false,"fork":false,"pushed_at":"2023-05-15T12:36:42.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-01-12T16:12:40.211Z","etag":null,"topics":["eslint","eslint-config"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Netcentric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","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":"2023-03-28T11:50:37.000Z","updated_at":"2023-04-27T14:43:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"87d28ea5-67c7-4918-a513-0e4b733f858d","html_url":"https://github.com/Netcentric/eslint-config","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netcentric%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netcentric%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netcentric%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Netcentric%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Netcentric","download_url":"https://codeload.github.com/Netcentric/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241454527,"owners_count":19965405,"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-config"],"created_at":"2024-11-13T08:33:33.332Z","updated_at":"2026-05-13T03:32:47.753Z","avatar_url":"https://github.com/Netcentric.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @netcentric/eslint-config\n\n[![Version](https://img.shields.io/npm/v/@netcentric/eslint-config.svg)](https://npmjs.org/package/@netcentric/eslint-config)\n[![Build Status](https://github.com/netcentric/eslint-config/workflows/CI/badge.svg?branch=main)](https://github.com/netcentric/eslint-config/actions)\n[![CodeQL Analysis](https://github.com/netcentric/eslint-config/workflows/CodeQL/badge.svg?branch=main)](https://github.com/netcentric/eslint-config/actions)\n[![semver: semantic-release](https://img.shields.io/badge/semver-semantic--release-blue.svg)](https://github.com/semantic-release/semantic-release)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nThis package provides Cognizant Netcentric's [ESLint](https://eslint.org) configuration as an extensible shared config.\n\nIf ESLint is new to you, you might want to check out [what it does](https://eslint.org/) and [how to configure it](https://eslint.org/docs/latest/use/getting-started).\n\n## Install\n\n```bash\nnpm i @netcentric/eslint-config\n```\n\n## Setup\n\n### .eslintrc\n\nCreate or update your `.eslintrc` file:\n\n```json\n{\n  \"extends\": \"@netcentric/eslint-config\"\n}\n```\n\n## IDE integration\n\nMost IDEs should have an [integration for ESLint](https://eslint.org/docs/latest/use/integrations).\n\n## Build system integration\n\nIf you are using https://github.com/Netcentric/fe-build, ESLint is integrated by default.\n\nFor custom lint task, update `package.json`\n\n```json\n  \"scripts\": {\n    \"lint:js\": \"eslint path/to/source-js-files\"\n  }\n```\n\nMake sure you do not accidently lint files you are not interested that are out of scope for your build; e.g. files within the `node_modules` folder.\n\n## Upgrading\n\n### Import order sorting (upcoming enforcement)\n\nThis config now warns about unsorted imports (`import/order`). Warnings will become errors in a future release, giving teams time to adopt the rule gradually.\n\nTo auto-fix all import order warnings in your project at once, run:\n\n```bash\nnpx eslint --fix path/to/source-js-files\n```\n\n## Overwriting rules\n\nPlease stick to the Netcentric rules as they are battle tested and were created to form a company wide basis for JS code quality. If there's a very specific case you want to deactivate a rule for consider using [Eslint inline comments](https://eslint.org/docs/latest/use/configure/rules#disabling-rules) instead.\n\nIf there's a rule you consider as outdated or simply wrong please contact the package's maintainer or file an issue in JIRA (`bugs` in `package.json`) or create a PR on the package's repository (`repository` in `package.json`).\n\nIf you have a very project specific case where adding or deactivating a rule makes perfectly sense, you can overwrite any rule using the `rules` property.\n\n## I don't understand why I violated rule X\n\nYou can find a description of all rules on the [Eslint Homepage](https://eslint.org/docs/latest/rules/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetcentric%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetcentric%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetcentric%2Feslint-config/lists"}