{"id":21989039,"url":"https://github.com/imweb/eslint-config-imweb","last_synced_at":"2025-04-30T11:30:15.021Z","repository":{"id":57228369,"uuid":"81188695","full_name":"imweb/eslint-config-imweb","owner":"imweb","description":"IMWeb团队eslint配置规则","archived":false,"fork":false,"pushed_at":"2020-06-28T07:09:57.000Z","size":115,"stargazers_count":21,"open_issues_count":1,"forks_count":9,"subscribers_count":28,"default_branch":"master","last_synced_at":"2024-10-31T17:57:25.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://imweb.github.io/eslint-config-imweb/","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/imweb.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":"2017-02-07T09:09:25.000Z","updated_at":"2024-05-17T14:05:53.000Z","dependencies_parsed_at":"2022-08-29T07:50:48.479Z","dependency_job_id":null,"html_url":"https://github.com/imweb/eslint-config-imweb","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/imweb%2Feslint-config-imweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imweb%2Feslint-config-imweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imweb%2Feslint-config-imweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imweb%2Feslint-config-imweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imweb","download_url":"https://codeload.github.com/imweb/eslint-config-imweb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227197967,"owners_count":17746464,"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":"2024-11-29T19:27:28.595Z","updated_at":"2024-11-29T19:27:29.180Z","avatar_url":"https://github.com/imweb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-imweb\n[![node version](https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square)](http://nodejs.org/download/)\n[![build status](https://img.shields.io/travis/imweb/eslint-config-imweb.svg?style=flat-square)](https://travis-ci.org/imweb/eslint-config-imweb)\n[![David deps](https://img.shields.io/david/imweb/eslint-config-imweb.svg?style=flat-square)](https://david-dm.org/imweb/eslint-config-imweb)\n[![License](https://img.shields.io/npm/l/eslint-config-imweb.svg?style=flat-square)](https://www.npmjs.com/package/eslint-config-imweb)\n\nIMWeb团队eslint配置规则。\n\n# 安装\n安装依赖:\n\n\tnpm i --save-dev eslint babel-eslint eslint-config-imweb\n\n配置 `.eslintrc` :\n\n  - 小程序项目：\n\n    ```json\n    {\n        \"extends\": \"eslint-config-imweb/weapp\"\n    }\n    ```\n\n  - 非小程序项目\n\n    ```json\n    {\n        \"extends\": \"eslint-config-imweb\"\n    }\n    ```\n\n配置 `package.json` 的scripts:\n\n\t \"scripts\": {\n\t   \"lint\": \"eslint *.js lib test xxx\",\n\t   \"lintfix\": \"eslint --fix *.js lib test xxx\"\n\t}\n\n运行:\n\n\tnpm run lint\n\n[文档链接](https://imweb.github.io/eslint-config-imweb/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimweb%2Feslint-config-imweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimweb%2Feslint-config-imweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimweb%2Feslint-config-imweb/lists"}