{"id":14108960,"url":"https://github.com/dgraham/eslint-plugin-jquery","last_synced_at":"2025-05-16T07:07:48.522Z","repository":{"id":45205516,"uuid":"55659398","full_name":"dgraham/eslint-plugin-jquery","owner":"dgraham","description":"Disallow jQuery functions with native equivalents.","archived":false,"fork":false,"pushed_at":"2020-07-18T19:06:36.000Z","size":302,"stargazers_count":209,"open_issues_count":4,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-28T05:36:50.122Z","etag":null,"topics":["eslint","jquery"],"latest_commit_sha":null,"homepage":null,"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/dgraham.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}},"created_at":"2016-04-07T03:06:52.000Z","updated_at":"2025-02-19T13:04:47.000Z","dependencies_parsed_at":"2022-09-14T14:50:32.353Z","dependency_job_id":null,"html_url":"https://github.com/dgraham/eslint-plugin-jquery","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraham%2Feslint-plugin-jquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraham%2Feslint-plugin-jquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraham%2Feslint-plugin-jquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraham%2Feslint-plugin-jquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgraham","download_url":"https://codeload.github.com/dgraham/eslint-plugin-jquery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252414133,"owners_count":21744044,"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","jquery"],"created_at":"2024-08-14T10:01:56.370Z","updated_at":"2025-05-16T07:07:43.513Z","avatar_url":"https://github.com/dgraham.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# eslint-plugin-jquery\n\nDisallow jQuery functions with native equivalents.\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm install eslint --save-dev\n```\n\nNext, install `eslint-plugin-jquery`:\n\n```\n$ npm install eslint-plugin-jquery --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-jquery` globally.\n\n## Usage\n\nAdd `jquery` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix.\n\nYou can either enable individual rules as follows:\n```json\n{\n  \"plugins\": [\n    \"jquery\"\n  ],\n  \"rules\": {\n    \"jquery/no-ajax\": 2,\n    \"jquery/no-ajax-events\": 2,\n    \"jquery/no-animate\": 2,\n    \"jquery/no-attr\": 2,\n    \"jquery/no-bind\": 2,\n    \"jquery/no-class\": 2,\n    \"jquery/no-clone\": 2,\n    \"jquery/no-closest\": 2,\n    \"jquery/no-css\": 2,\n    \"jquery/no-data\": 2,\n    \"jquery/no-deferred\": 2,\n    \"jquery/no-delegate\": 2,\n    \"jquery/no-each\": 2,\n    \"jquery/no-extend\": 2,\n    \"jquery/no-fade\": 2,\n    \"jquery/no-filter\": 2,\n    \"jquery/no-find\": 2,\n    \"jquery/no-global-eval\": 2,\n    \"jquery/no-grep\": 2,\n    \"jquery/no-has\": 2,\n    \"jquery/no-hide\": 2,\n    \"jquery/no-html\": 2,\n    \"jquery/no-in-array\": 2,\n    \"jquery/no-is-array\": 2,\n    \"jquery/no-is-function\": 2,\n    \"jquery/no-is\": 2,\n    \"jquery/no-load\": 2,\n    \"jquery/no-map\": 2,\n    \"jquery/no-merge\": 2,\n    \"jquery/no-param\": 2,\n    \"jquery/no-parent\": 2,\n    \"jquery/no-parents\": 2,\n    \"jquery/no-parse-html\": 2,\n    \"jquery/no-prop\": 2,\n    \"jquery/no-proxy\": 2,\n    \"jquery/no-ready\": 2,\n    \"jquery/no-serialize\": 2,\n    \"jquery/no-show\": 2,\n    \"jquery/no-size\": 2,\n    \"jquery/no-sizzle\": 2,\n    \"jquery/no-slide\": 2,\n    \"jquery/no-submit\": 2,\n    \"jquery/no-text\": 2,\n    \"jquery/no-toggle\": 2,\n    \"jquery/no-trigger\": 2,\n    \"jquery/no-trim\": 2,\n    \"jquery/no-val\": 2,\n    \"jquery/no-when\": 2,\n    \"jquery/no-wrap\": 2\n  }\n}\n```\n\nOr you can use the full set of rules:\n```json\n{\n  \"plugins\": [\n    \"jquery\"\n  ],\n  \"extends\": [\n    \"plugin:jquery/deprecated\"\n  ]\n}\n```\n\nOr a subset:\n```json\n{\n  \"plugins\": [\n    \"jquery\"\n  ],\n  \"extends\": [\n    \"plugin:jquery/slim\"\n  ]\n}\n```\nThe `slim` set uses the following rules: `jquery/no-ajax`, `jquery/no-animate`, `jquery/no-fade`, `jquery/no-hide`, `jquery/no-load`, `jquery/no-param`, `jquery/no-serialize`, `jquery/no-show`, `jquery/no-slide`, `jquery/no-toggle`.\n\n\n## Development\n\n```\nnpm install\nnpm test\n```\n\n## License\n\nDistributed under the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgraham%2Feslint-plugin-jquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgraham%2Feslint-plugin-jquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgraham%2Feslint-plugin-jquery/lists"}