{"_id":"@agds/eslint-config-js","_rev":"4-3fd8849e6c6677ec6a495a716598c7ec","name":"@agds/eslint-config-js","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.0":{"name":"@agds/eslint-config-js","version":"1.0.0","description":"agds的js eslint配置","main":"lib/index.js","scripts":{"lint":"eslint --ext .js,.vue,.json,.md lib","lint:fix":"eslint --ext .js,.vue,.json,.md lib --fix","docs":"agds-doc","commit":"git add . && git commit --no-edit","postversion":"npm run changelog","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","postchangelog":"git add . && git commit -m \"docs(changelog): 更新CHANGELOG\" || true"},"gitHooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -e $GIT_PARAMS","prepare-commit-msg":"agds-gc-has-msg && exec < /dev/tty && git cz --hook || true"},"lint-staged":{"**/*.{js,json,md}":["eslint --fix"]},"repository":{"type":"git","url":"https://gitee.com/agile-development-system/eslint-config-js.git"},"keywords":["eslint","agds","config","js"],"author":{"name":"junyang"},"license":"MIT","dependencies":{"@babel/eslint-parser":"^7.14.3","eslint":"^7.27.0","eslint-config-standard":"^16.0.2","eslint-plugin-import":"^2.23.3","eslint-plugin-jsdoc":"^35.0.0","eslint-plugin-json-format":"^2.0.1","eslint-plugin-markdown":"^2.0.0-rc.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.3.1"},"devDependencies":{"@agds/cli-plugin-doc":"^1.0.0","@agds/node-utils":"^1.0.0","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","commitizen":"^4.2.4","conventional-changelog":"^3.1.24","conventional-changelog-cli":"^2.1.1","cz-conventional-changelog-zh":"^0.0.2","lint-staged":"^11.0.0","yorkie":"^2.0.0"},"gitHead":"3056373f046b3ec879444ad76a453199ddd2fd0b","_id":"@agds/eslint-config-js@1.0.0","_nodeVersion":"12.16.2","_npmVersion":"7.11.1","dist":{"integrity":"sha512-T3uMNMSBIElzGtGwHcxVFF9n1NQUcLMsaPVClVpseyxjw+PHYUhg/benhOwNHcW56hCSNINzCv4gs97sS3Fe/Q==","shasum":"e9650e086cece6dd6121f03b79bb6d33940de760","tarball":"https://registry.npmjs.org/@agds/eslint-config-js/-/eslint-config-js-1.0.0.tgz","fileCount":13,"unpackedSize":11001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyKsqCRA9TVsSAnZWagAArj8P/0uPUGvvFsXijbJQubyY\nhXsIuTELElYy+1xdHAeOng6WfRvVMnm6IzIt2raewyrBxT2tb3YVSRTSFyPg\nbEb2REQeZQZvOdsSMTgcIS6IOIZKrmLc1+U9XkTFOo0V4zZMjJcqW1n3hRuB\nUNlecJPoaENJRuahBciQRBOL9yiDCdsh0ZUBcEFRFVZQ7uwKVFdtNYSluqCG\n3hWAKi/RaP4igoDEh9Z3IlgknmfV0Yo2R46ciNDpT7hsxcQG3MME1b5bebrf\n3eftLQGh2RPv7l7vV2s3JH4WpF6FXvXw2ZQ0vMYXHISWNQy5k10U1c19ZLpo\n9eGTBzhp4sYA3VYfE9w3yJe/hb3AKnof9P8G6oQeRPv3IW9u6VkFfTpArFph\nEwi1go0VrUA+L5Z/rEuAuqjAsV2aMzIMqfQfHSIGT1EGSBDfOU8S/xR64jfj\nhpRsgjzQn5EWnxKE2kQWjXSrD98Sqm7fBsC83P87PEJjDbGWKOjW3xkI0zkM\nRTp9BusRaR0al5i9u4u2FL9I+lDrC/Dt09AVDaK0PJmJHMmvt+X42sXpgg1M\nMssE/tgO5Xsk+5nMEqhf+erjdJDls8Cjtogv2WlSwGFeEdvv3xbLiHNgqSHW\nI/H7ONUugRYoNZriJRFP44HWmIIUbmxM0YAh8xp0MHswTEt1StKJVHhyihcE\nETHs\r\n=EVYY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi/LGy/IbLc/9ValA5YFKq7H/hyVxAktq3isfvn4joAAIgB9r2gNDxlL15kGpicTu+lm741C4rMp1mQUtGCgDNBd8="}]},"_npmUser":{"name":"chujunyang","email":"961284688@qq.com"},"directories":{},"maintainers":[{"name":"chujunyang","email":"961284688@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-js_1.0.0_1623763754118_0.02358602638658125"},"_hasShrinkwrap":false},"1.0.6":{"name":"@agds/eslint-config-js","version":"1.0.6","description":"agds的js eslint配置","main":"lib/index.js","scripts":{"lint":"eslint --ext .js,.json,.md lib","lint:fix":"eslint --ext .js,.json,.md lib --fix","docs":"agds-doc","commit":"git add . && git commit --no-edit","postversion":"npm run changelog","prepublishOnly":"npm run docs && (git add . && git commit -m \"docs(readme): 更新文档\" || true)","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","postchangelog":"git add . && git commit -m \"docs(changelog): 更新CHANGELOG\" || true"},"gitHooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -e $GIT_PARAMS","prepare-commit-msg":"agds-gc-has-msg && exec < /dev/tty && git cz --hook || true"},"lint-staged":{"**/*.{js,json,md}":["eslint --fix"]},"repository":{"type":"git","url":"https://gitee.com/agile-development-system/eslint-config-js.git"},"keywords":["eslint","agds","config","js"],"author":{"name":"junyang"},"license":"MIT","dependencies":{"@babel/eslint-parser":"^7.14.3","eslint":"^7.27.0","eslint-config-standard":"^16.0.2","eslint-plugin-import":"^2.23.3","eslint-plugin-jsdoc":"^35.0.0","eslint-plugin-json-format":"^2.0.1","eslint-plugin-markdown":"^2.0.0-rc.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.3.1"},"devDependencies":{"@agds/cli-plugin-doc":"^1.0.0","@agds/node-utils":"^1.0.0","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","commitizen":"^4.2.4","conventional-changelog":"^3.1.24","conventional-changelog-cli":"^2.1.1","cz-conventional-changelog-zh":"^0.0.2","lint-staged":"^11.0.0","yorkie":"^2.0.0"},"gitHead":"73eb6a77484b923719c2a6c8ced324cc53f4998f","_id":"@agds/eslint-config-js@1.0.6","_nodeVersion":"12.16.2","_npmVersion":"7.11.1","dist":{"integrity":"sha512-Vwhh2s6EF91o24GLACRMSZTbe/NilLCx0/uzCbzz61iI8F9YO0YC/DUMAg0tRV9tkgD5YfzfLk5WSJIjNV0Qkw==","shasum":"0e5c2c9ae5e56ede4c588b4ed7ac4d06aa6530f0","tarball":"https://registry.npmjs.org/@agds/eslint-config-js/-/eslint-config-js-1.0.6.tgz","fileCount":4,"unpackedSize":8277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyhdDCRA9TVsSAnZWagAAEwIP/A+6dj/yjSutzogM+yS+\ngZ/TwsWnCQ1ueCp6sbVmDiqszQMUcqnNvLPM6FgLa6BHpeQC/754xOcjoGWo\nIx+m1zuK1lIUxEypee+JOG1MtQ+KU2jMF8H1XZ9IYnjRGLLewlYphsbIyVqv\neJiUhQAtUglXI9PTStVGS8zgcptocqTqhop/R4PCDw0MFth8aw3kaknPXQe1\nNCtO6oGgEo3FOlPwrzQ5mJeMbWlpBtIKsT2jRDOhap9K/btbMnV4YGwr0UCl\nHJNanBbH0tauMuum4X4/MvPV6lb1eSQKikgLGVBvUZeLi/2rcWNCqCXrQYoI\n17ufYevuKDpw6Lp6X+9omXs0mNEw8uCxeEgLhPxkCh6m84crrzasYsvBzplE\nL1zbP/YCr6gxgjM82ZkdJZu58VWz9yrrz2SOGF/9PAW9F0H0leRQ3Zfo+qvU\n0PJlnaj6UbegPyKxA7R/lWpEOjlkc7kT2JhAq2sIn+fpHlXKQsg3ybPp7Vii\nQRvS81vqQMaUOo7kGZupn3jNXT4GDQWfLitECK0iX35F6fRqhxsKSOzbscrf\nSnDOwgQemTJ6QrhFhCmiXRzmwGJmz7gMPOPi4qq7H3KhW10jJ49aojBSzCLQ\nrlmRMwZM75Qi3/IYcCSVUWwQTaJn/T1y4S0r93djqBgz2xWEMpnqU4xR/cmx\nK5rW\r\n=58lE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAeFjKSRwJaWoOdtLM2aKXyfNLDYVL/LW7YZQrXreMOAiEAjT6Ck3mlmeEPLu/IZr0GY81C0KqUztlRVqv8a25yuqE="}]},"_npmUser":{"name":"chujunyang","email":"961284688@qq.com"},"directories":{},"maintainers":[{"name":"chujunyang","email":"961284688@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-js_1.0.6_1623856962959_0.2194934571234335"},"_hasShrinkwrap":false},"1.0.7":{"name":"@agds/eslint-config-js","version":"1.0.7","description":"agds的js eslint配置","main":"lib/index.js","scripts":{"lint":"eslint --ext .js,.json,.md lib","lint:fix":"eslint --ext .js,.json,.md lib --fix","docs":"agds-doc","commit":"git add . && git commit --no-edit","postversion":"npm run changelog","prepublishOnly":"npm run docs && (git add . && git commit -m \"docs(readme): 更新文档\" || true)","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","postchangelog":"git add . && git commit -m \"docs(changelog): 更新CHANGELOG\" || true"},"gitHooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -e $GIT_PARAMS","prepare-commit-msg":"agds-gc-has-msg && exec < /dev/tty && git cz --hook || true"},"lint-staged":{"**/*.{js,json,md}":["eslint --fix"]},"repository":{"type":"git","url":"https://gitee.com/agile-development-system/eslint-config-js.git"},"keywords":["eslint","agds","config","js"],"author":{"name":"junyang"},"license":"MIT","dependencies":{"@agds/node-utils":"^1.0.0","@babel/eslint-parser":"^7.14.3","eslint":"^7.27.0","eslint-config-standard":"^16.0.2","eslint-plugin-import":"^2.23.3","eslint-plugin-jsdoc":"^35.0.0","eslint-plugin-json-format":"^2.0.1","eslint-plugin-markdown":"^2.0.0-rc.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.3.1"},"devDependencies":{"@agds/agds-doc-preset":"^1.0.6","@agds/cli-plugin-doc":"^1.0.10","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","commitizen":"^4.2.4","conventional-changelog":"^3.1.24","conventional-changelog-cli":"^2.1.1","cz-conventional-changelog-zh":"^0.0.2","lint-staged":"^11.0.0","yorkie":"^2.0.0"},"gitHead":"c0ea32cdfd91bd2d0c5dad66100fe0e4f8c46156","_id":"@agds/eslint-config-js@1.0.7","_nodeVersion":"12.16.2","_npmVersion":"7.11.1","dist":{"integrity":"sha512-hVFGA6eQcmBpWV59Hf9B+agtlZ3/gD9TVbsvznCtOto+MQOmQgP/jAB7NHsp6Y4FFynrfJZki46YM0Q2lEN9NQ==","shasum":"15e20d22e60d9974967d0826a42fa3917640603b","tarball":"https://registry.npmjs.org/@agds/eslint-config-js/-/eslint-config-js-1.0.7.tgz","fileCount":5,"unpackedSize":10299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5dSICRA9TVsSAnZWagAAHnsP/1+iE/aeiuSsHlLigGfW\nKslvfhj3dqJdBGKupOV/9xUOJNQixbG/LdoIFrmTE1Bd7Grvi8txJySPCqUE\nJzow88cdsPrAjEvthyCgL0TcFqGn7APua0CFeUEQVh0eKFuHX98kjRWwukHM\nxS7Q43KIhwmtvXu3hUoanzLeaWGbJxNlTfyxxYCL8/zgDGcGgdurV9wXlcXB\ndnAiFo/uawTOwh7snJbThre9QFlkPmXc7fgSNewSIP22SShoeSJy4sZRaWjt\nEv+n7D7Cr02g2fMzFmqXgrAsW20V4Fad58ITgpOEKhzoU9dGSA15SZBeAudc\nebNZbpOfyXNb6cnDdjt/SWKg8iD+91wqboLIkXNSGNFeX/0Q8oaqarMoacVP\nqK53z6oDxWRxeIV2z4chPgbkzNKF8vx+SCTwGgcJI7lYq/AWExmBA0bw1QJP\nFMCvv0771UZbFMByIfrIZCfBCYJPUbRBgohK5y95kVoXFg28oX6f/Iz/phxX\nwVcGIz3vrEWkhL0JXmsUyK+APyBKORPa9zWQYMJhfdkGk34z11sS0F/1R9yT\nd8BPZ2Vwe8ZGfooT+uQn7rkhw+DgKsf42uu59IiqhVSdv3f2qGqeNePiqlfy\n9o0Y1qq3OCfe88HzzG/4OYRgvKcI14R6EyGFyII16BT2XFtKobIr98Zmpd8k\ndCxi\r\n=2LUV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUHh9SvXeL+diVdKTn7gHV9PIReUA22p7x4pFarf7sAwIgMnn3EsbOQ0gw/oQ8FjEELzAKWUljxakcmLc7Xz28I+A="}]},"_npmUser":{"name":"chujunyang","email":"961284688@qq.com"},"directories":{},"maintainers":[{"name":"chujunyang","email":"961284688@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-js_1.0.7_1625674888105_0.8415569347870486"},"_hasShrinkwrap":false},"1.0.8":{"name":"@agds/eslint-config-js","version":"1.0.8","description":"agds的js eslint配置，支持js、json、markdown的js代码","main":"lib/index.js","scripts":{"lint":"eslint --ext .js,.json,.md lib","lint:fix":"eslint --ext .js,.json,.md lib --fix","docs":"agds-doc","commit":"git add . && git commit --no-edit","postversion":"npm run changelog","prepublishOnly":"npm run docs && (git add . && git commit -m \"docs(readme): 更新文档\" || true)","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","postchangelog":"git add . && git commit -m \"docs(changelog): 更新CHANGELOG\" || true"},"gitHooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -e $GIT_PARAMS","prepare-commit-msg":"agds-gc-has-msg && exec < /dev/tty && git cz --hook || true"},"lint-staged":{"**/*.{js,json,md}":["eslint --fix"]},"repository":{"type":"git","url":"https://gitee.com/agile-development-system/eslint-config-js.git"},"keywords":["eslint","agds","config","js"],"author":{"name":"junyang"},"license":"MIT","dependencies":{"@agds/node-utils":"^1.0.0","@babel/eslint-parser":"^7.14.3","eslint":"^7.27.0","eslint-config-standard":"^16.0.2","eslint-plugin-import":"^2.23.3","eslint-plugin-json-format":"^2.0.1","eslint-plugin-markdown":"^2.0.0-rc.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.3.1"},"devDependencies":{"@agds/agds-doc-preset":"^1.0.6","@agds/cli-plugin-doc":"^1.0.10","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","commitizen":"^4.2.4","conventional-changelog":"^3.1.24","conventional-changelog-cli":"^2.1.1","cz-conventional-changelog-zh":"^0.0.2","lint-staged":"^11.0.0","yorkie":"^2.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"gitHead":"2e3a1261b88b41e1de2e6b841d3201af448a0ec7","_id":"@agds/eslint-config-js@1.0.8","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-cPFlE1oIjjk1D2afwWyaVmVm9VqdDjk+QBiU6wuvFm2uWhHSZQKFjwG6dFpROPspCgR8UFePMorB77JLZ3ClIw==","shasum":"888cf171e11a216795456f1fdadc1039d9dc634a","tarball":"https://registry.npmjs.org/@agds/eslint-config-js/-/eslint-config-js-1.0.8.tgz","fileCount":4,"unpackedSize":8199,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDv2QazfMeVO20oc65fAS6f5+vvw7fRljlSiFkizce/KAiEA5JVeHTtzU5/EyTG2MsdhUUA9JeWOLmggO+s5Ptg5sJM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJip//IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZ1A/8DzctmLjHTeLtEXcvhB2h/i31fuzWTshX3uIl/OZf7UjaW6sy\r\ntmbNJod72K6/Zy70/zX1orjKoGhOVQFVR7Hble+r0erRY45bHPGNm5ZI1Bkv\r\n0nipVGbM9pGfe83lxVxfh3tOpV0vH20qp/ZXg2VXWz8u6GUyMjhbEO+TMr5T\r\ntc1clcPi05nypIZx2hBN1I/fVDaWJaKWmc9iLw+L1+jvxaDpSuBewpNVIh4H\r\n7E4UA9NTKeEm1X7k2lL1yE8IgwtL5ZzAWATzn4zjKcmWQxdyFUntceylpQJ0\r\nttVGPCPUyj+qG2LJKhE3vBBemeEszhNfudF78oZ5p71CSN4LfaroCt/juVjH\r\nygYOZ9FFx7ZmlkUKaXjkgEk95PWf3Ei9MWBTUveVL/zBlnV1YloHWKczzB8L\r\ntXg/zskmkgCspxCiyCifGH4O8v5m6NJmVebm8r7DJ/P5wB0OwCEvFTjip2LG\r\n6Dvyf9/lhxvm5iGhOFbeagGZoXaTPNIsU5y3duv+bxvwr99a/Xr/uF9FQVMV\r\ni2OBFryz9wLmk3DQS+xQrOh41arxK7m/dcI20mVpDIYRi8+BJZNIvE126Krf\r\nS0XNVk59xTTrsU68DNaB9tmDgZBuPnw/o1LNnr1oqdECey8XQv7Mt6KNAKeB\r\nYD4x7vtoxU/atX0jk0s9KJo+rRCIjJcXue0=\r\n=wrgo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chujunyang","email":"961284688@qq.com"},"directories":{},"maintainers":[{"name":"chujunyang","email":"961284688@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-js_1.0.8_1655177160668_0.8519238905835294"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-15T13:29:13.715Z","1.0.0":"2021-06-15T13:29:14.239Z","modified":"2022-06-14T03:26:00.957Z","1.0.6":"2021-06-16T15:22:43.114Z","1.0.7":"2021-07-07T16:21:28.217Z","1.0.8":"2022-06-14T03:26:00.876Z"},"maintainers":[{"name":"chujunyang","email":"961284688@qq.com"}],"description":"agds的js eslint配置，支持js、json、markdown的js代码","keywords":["eslint","agds","config","js"],"repository":{"type":"git","url":"https://gitee.com/agile-development-system/eslint-config-js.git"},"author":{"name":"junyang"},"license":"MIT","readme":"<p align=\"center\">\n    <img src=\"https://gitee.com/agile-development-system/agds-doc-preset/raw/master/lib/docs/logos/light/1.png\" alt=\"logo\">\n</p>\n\n# @agds/eslint-config-js\n\n**版本** ：1.0.8\n\nagds的js eslint配置，支持js、json、markdown的js代码\n\n## 快速开始\n\n### 安装\n\n```bash\nnpm i -D @agds/eslint-config-js\n```\n\n### 引入\n\n```js\n// .eslintrc.js\nmodule.exports = {\n    extends: [\n        '@agds/js',\n    ],\n};\n```\n\n\n### 添加lint脚本\n\n在`package.json`的`scripts`下添加lint命令；\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint --ext .js,.json,.md src\",\n    \"lint:fix\": \"eslint --ext .js,.json,.md src --fix\"\n  }\n}\n```\n\n### 基于`lint-staged`提供增量lint脚本\n\n- 安装`lint-staged`包\n    ```\n    npm i -D lint-staged\n    ```\n- 在`package.json`中添加`pkg['lint-staged']`脚本\n    ```json\n    {\n      \"lint-staged\": {\n        \"src/**/*.{js,json,md}\": [\n          \"eslint --fix\"\n        ]\n      }\n    }\n    ```\n\n### 使用`yorkie`在git声明周期内检测代码格式\n\n- 安装`yorkie`包\n    ```\n    npm i -D yorkie\n    ```\n- 在`package.json`中添加`pkg.gitHooks`脚本\n    ```json\n    {\n      \"gitHooks\": {\n        \"pre-commit\": \"lint-staged\"\n      }\n    }\n    ```\n\n\n<a name=\"source\"></a>\n\n## 配置源码\n\n```js\nconst { FastPath, FastFs } = require('@agds/node-utils');\nconst cwdBabelConfigPath = FastPath.getCwdPath('./babel.config.js');\nconst hasCwdBabelConfg = FastFs.getPathStatSync(cwdBabelConfigPath);\nmodule.exports = {\n    env: {\n        commonjs: true,\n        es2021: true,\n        node: true,\n    },\n    extends: [\n        'standard',\n        'plugin:markdown/recommended',\n    ],\n    plugins: [\n        'json-format',\n    ],\n    settings: {\n        'json/sort-package-json': false,\n        'json/json-with-comments-files': [],\n        'json/ignore-files': [],\n    },\n    parser: hasCwdBabelConfg ? '@babel/eslint-parser' : undefined,\n    parserOptions: {\n        ecmaVersion: 12,\n        babelOptions: {\n            configFile: hasCwdBabelConfg ? cwdBabelConfigPath : undefined,\n        },\n    },\n    rules: {\n        indent: ['error', 4, { SwitchCase: 1 }],\n        semi: ['error', 'always'],\n        'comma-dangle': ['error', 'always-multiline'],\n        'space-before-function-paren': [\n            'error',\n            { anonymous: 'always', named: 'never', asyncArrow: 'always' },\n        ],\n    },\n    overrides: [\n        {\n            files: ['**/*.md/*.{js,json}', 'docs/**', 'test/**'],\n            rules: {\n                'no-console': 'off',\n                'import/no-unresolved': 'off',\n                'no-undef': 'off',\n                'no-unused-expressions': 'off',\n                'no-unused-vars': 'off',\n                'padded-blocks': 'off',\n                'eol-last': 'off',\n            },\n        },\n    ],\n};\n```\n\n\n<a name=\"license\"></a>\n\n## 许可证\n\n[MIT License](https://gitee.com/agile-development-system/eslint-config-js/blob/master/LICENSE)\nCopyright (c) 2021 锦阳\n\n<a name=\"donate\"></a>\n\n## 请维护者喝杯咖啡\n\n<div style=\"display:flex;\">\n<img src=\"https://gitee.com/agile-development-system/agds-doc-preset/raw/master/lib/docs/qrcode/alipay.jpeg\" width=\"209px\" >\n<img src=\"https://gitee.com/agile-development-system/agds-doc-preset/raw/master/lib/docs/qrcode/wechatpay.jpeg\" width=\"237px\" >\n</div>\n\n<a name=\"dingtalk\"></a>\n\n## 加入钉钉群讨论或加入开发\n\n<img src=\"https://gitee.com/agile-development-system/agds-doc-preset/raw/master/lib/docs/qrcode/dingtalk.jpeg\" width=\"188px\" >\n\n","readmeFilename":"README.md"}