{"id":15290667,"url":"https://github.com/manu1400/eslint-plugin-emmanuel","last_synced_at":"2026-01-19T12:33:59.150Z","repository":{"id":34541099,"uuid":"151033387","full_name":"Manu1400/eslint-plugin-emmanuel","owner":"Manu1400","description":"My Eslint plugin","archived":false,"fork":false,"pushed_at":"2023-04-15T00:46:17.000Z","size":5281,"stargazers_count":1,"open_issues_count":40,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T23:16:17.166Z","etag":null,"topics":["emmanuel","eslint","eslint-config","eslint-plugin","eslint-rules","eslintplugin","javascript","linting-rules","npm-package","regex-validator","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Manu1400.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":"manu1400","otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2018-10-01T03:45:32.000Z","updated_at":"2024-04-23T23:16:17.167Z","dependencies_parsed_at":"2024-09-30T16:09:01.966Z","dependency_job_id":"b365cad1-e4c3-4f5b-8539-7e994c2386a1","html_url":"https://github.com/Manu1400/eslint-plugin-emmanuel","commit_stats":{"total_commits":173,"total_committers":2,"mean_commits":86.5,"dds":0.005780346820809301,"last_synced_commit":"a7889eacd6d6b67c156d8874c37daa60281b5634"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manu1400%2Feslint-plugin-emmanuel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manu1400%2Feslint-plugin-emmanuel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manu1400%2Feslint-plugin-emmanuel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manu1400%2Feslint-plugin-emmanuel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Manu1400","download_url":"https://codeload.github.com/Manu1400/eslint-plugin-emmanuel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430842,"owners_count":20937873,"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":["emmanuel","eslint","eslint-config","eslint-plugin","eslint-rules","eslintplugin","javascript","linting-rules","npm-package","regex-validator","typescript"],"created_at":"2024-09-30T16:08:58.215Z","updated_at":"2026-01-19T12:33:59.145Z","avatar_url":"https://github.com/Manu1400.png","language":"JavaScript","funding_links":["https://issuehunt.io/r/manu1400"],"categories":[],"sub_categories":[],"readme":"# eslint-plugin-emmanuel [![Build Status](https://travis-ci.org/Manu1400/eslint-plugin-emmanuel.svg?branch=master)](https://travis-ci.org/Manu1400/eslint-plugin-emmanuel)\n\n\nMy ESLint plugin\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm i eslint --save-dev\n```\n\nNext, install `eslint-plugin-emmanuel`:\n\n```\n$ npm install eslint-plugin-emmanuel --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-emmanuel` globally.\n\n## Usage\n\nAdd `emmanuel` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"emmanuel\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"emmanuel/rule-name\": 2\n    }\n}\n```\n\n## Supported Rules\n\n* Fill in provided rules here\n\n## When Not To Use It\n\nIf you want to use the \u003ca href=\"http://requirejs.org/docs/api.html#cjsmodule\"\u003eSimplified CommonJS Wrapper\u003c/a\u003e format for your modules, you should not use this rule.\n\n\n\u003c!-- begin rule list --\u003e\n\n**Key**: :heavy_check_mark: = recommended, :wrench: = fixable\n\n\u003c!-- prettier-ignore --\u003e\n| Name | Description | :heavy_check_mark: | :wrench: |\n| ---- | ----------- | ------------------ | -------- |\n| [`emmanuel/avoid-class-name-conflict`](./docs/rules/avoid-class-name-conflict.md) | avoid use a native name for a class name |  |  |\n| [`emmanuel/avoid-infinite-loop`](./docs/rules/avoid-infinite-loop.md) | disallow easy infinite loop | :heavy_check_mark: |  |\n| [`emmanuel/avoid-typing-mistake`](./docs/rules/avoid-typing-mistake.md) | avoid typing mistake |  |  |\n| [`emmanuel/bool-concordance`](./docs/rules/bool-concordance.md) | check type concordance on boolean properties values |  |  |\n| [`emmanuel/compare-regex`](./docs/rules/compare-regex.md) | use `fast-deep-equal` package to compare regex expressions |  | :wrench: |\n| [`emmanuel/deterministic-stringify`](./docs/rules/deterministic-stringify.md) | prefer fast-json-stable-stringify package to native JSON.stringify() |  | :wrench: |\n| [`emmanuel/math-shortcut`](./docs/rules/math-shortcut.md) | use Math constants |  | :wrench: |\n| [`emmanuel/max-lines-per-loop`](./docs/rules/max-lines-per-loop.md) | Max lines per a loop |  |  |\n| [`emmanuel/negative-array`](./docs/rules/negative-array.md) | avoid negative index on an array |  |  |\n| [`emmanuel/no-commented-out-code`](./docs/rules/no-commented-out-code.md) | Detect commented code |  |  |\n| [`emmanuel/no-divide-by-zero`](./docs/rules/no-divide-by-zero.md) | No divide by zero |  |  |\n| [`emmanuel/no-double-negative`](./docs/rules/no-double-negative.md) | No double negative |  | :wrench: |\n| [`emmanuel/no-duplicate-requires`](./docs/rules/no-duplicate-requires.md) | eslint-plugin-import offer a rule to report when a resolved path is imported more than once, but that doesn't work with require |  |  |\n| [`emmanuel/no-empty-requires`](./docs/rules/no-empty-requires.md) | Find require() or require(\"\") | :heavy_check_mark: |  |\n| [`emmanuel/no-invalid-xpath`](./docs/rules/no-invalid-xpath.md) | Check XPath expressions and avoid magic number |  | :wrench: |\n| [`emmanuel/no-nan`](./docs/rules/no-nan.md) | Don't try to assign value to readonly items |  | :wrench: |\n| [`emmanuel/no-number-useless`](./docs/rules/no-number-useless.md) | useless Number object constructor |  | :wrench: |\n| [`emmanuel/no-redefine-require`](./docs/rules/no-redefine-require.md) | Detect if require() is redefine | :heavy_check_mark: |  |\n| [`emmanuel/no-reuse-function-name`](./docs/rules/no-reuse-function-name.md) | No reuse function name |  | :wrench: |\n| [`emmanuel/no-same-arguments`](./docs/rules/no-same-arguments.md) | avoid arguments mistake, like same string arguments in a function call |  |  |\n| [`emmanuel/no-similar-fn-params`](./docs/rules/no-similar-fn-params.md) | Avoid similar params names | :heavy_check_mark: |  |\n| [`emmanuel/no-special-number`](./docs/rules/no-special-number.md) | prefer to use a standart Math constant |  | :wrench: |\n| [`emmanuel/no-useless-concat`](./docs/rules/no-useless-concat.md) | disallow unnecessary concatenation of literals or template literals | :heavy_check_mark: | :wrench: |\n| [`emmanuel/no-very-large-array`](./docs/rules/no-very-large-array.md) | no very large array |  | :wrench: |\n| [`emmanuel/prefer-array-fill`](./docs/rules/prefer-array-fill.md) | prefer Array.fill method to avoid mistake |  | :wrench: |\n| [`emmanuel/prefer-flatmap`](./docs/rules/prefer-flatmap.md) | slow code, prefer `flatMap` method | :heavy_check_mark: | :wrench: |\n| [`emmanuel/securecontext`](./docs/rules/securecontext.md) | check isSecureContext |  |  |\n| [`emmanuel/simplify-regex`](./docs/rules/simplify-regex.md) | simplify regex |  | :wrench: |\n| [`emmanuel/too-many-comments`](./docs/rules/too-many-comments.md) | .. |  |  |\n| [`emmanuel/ts-type`](./docs/rules/ts-type.md) | .. |  | :wrench: |\n| [`emmanuel/url-needed`](./docs/rules/url-needed.md) | .. |  | :wrench: |\n\n\u003c!-- end rule list --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanu1400%2Feslint-plugin-emmanuel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanu1400%2Feslint-plugin-emmanuel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanu1400%2Feslint-plugin-emmanuel/lists"}