{"id":27654019,"url":"https://github.com/rainagain/eslint-plugin-ie-jsapi","last_synced_at":"2026-04-25T21:33:50.546Z","repository":{"id":57229903,"uuid":"138007892","full_name":"rainAgain/eslint-plugin-ie-jsapi","owner":"rainAgain","description":"jsapi in ie not support","archived":false,"fork":false,"pushed_at":"2018-08-22T07:07:34.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T05:17:52.038Z","etag":null,"topics":[],"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/rainAgain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-20T09:10:32.000Z","updated_at":"2018-08-22T07:07:35.000Z","dependencies_parsed_at":"2022-09-14T15:02:03.988Z","dependency_job_id":null,"html_url":"https://github.com/rainAgain/eslint-plugin-ie-jsapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainAgain%2Feslint-plugin-ie-jsapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainAgain%2Feslint-plugin-ie-jsapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainAgain%2Feslint-plugin-ie-jsapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainAgain%2Feslint-plugin-ie-jsapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rainAgain","download_url":"https://codeload.github.com/rainAgain/eslint-plugin-ie-jsapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250566521,"owners_count":21451234,"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":[],"created_at":"2025-04-24T05:18:06.113Z","updated_at":"2026-04-25T21:33:50.516Z","avatar_url":"https://github.com/rainAgain.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-plugin-ie-jsapi\n\nuse to check ie jsapi\n\n## Fork\n\nforked from [rfeie/eslint-plugin-ie-static-methods](https://github.com/rfeie/eslint-plugin-ie-static-methods)\n\n## Introduce\n\nthis package just add a part of js api in Es5.\n\nyou can fork this package then write the extra.js\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-ie-jsapi`:\n\n```\n$ npm install eslint-plugin-ie-jsapi --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-ie-jsapi` globally.\n\n## Usage\n\nAdd `ie-jsapi` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"ie-jsapi\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"ie-jsapi/ie-jsapi\": \"error\"\n    }\n}\n```\n\n### Configuring\nIf you'd like to set specific methods to ignore due to polyfills you can add an\nentry in your .eslintrc file. Using the settings objects and providing an array\nof methods for each Object type. Example:\n\n```js\n// ...\n  \"settings\": {\n    \"ieStaticMethodsAllow\": {\n      // Ignore Object.assign and Number.parseFloat\n      \"Object\": [\"assign\"],\n      \"Number\": [\"parseFloat\"]\n    }\n  }\n```\n## Supported Rules\n\n```\nExtra: {\n    methods: ['forEach','isArray'], // add api\n    tips: {\n      // add error browser tip\n      \"forEach\": {\n        unsuportBrowser: 'IE 8,safari'\n      }\n    }\n  }\n```\n\nor in new version you can add js api in  extra.js\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainagain%2Feslint-plugin-ie-jsapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frainagain%2Feslint-plugin-ie-jsapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainagain%2Feslint-plugin-ie-jsapi/lists"}