{"_id":"@dushenyan/eslint-config","_rev":"7-62f0f0ce0be0a3867ef8f6edc0d36424","time":{"created":"2022-10-27T04:43:01.458Z","0.0.1":"2022-08-22T11:23:34.078Z","modified":"2022-10-28T02:01:42.287Z","0.1.6":"2022-08-22T11:26:59.309Z","0.1.7":"2022-08-22T12:20:36.936Z","0.1.8":"2022-08-22T12:49:42.932Z","0.1.1":"2022-10-27T04:43:01.673Z","0.1.2":"2022-10-28T02:01:42.194Z"},"name":"@dushenyan/eslint-config","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"@dushenyan/eslint-config","version":"0.1.1","description":"Dushenyan ESLint config presets","main":"index.js","publishConfig":{"access":"public"},"devDependencies":{"eslint":"^8.18.0"},"keywords":["eslint-config"],"peerDependencies":{"eslint":">=8.18.0"},"author":{"name":"Dushenyan","email":"2645472474@qq.com"},"license":"ISC","dependencies":{"@dushenyan/eslint-config-vue":"^0.1.1","@typescript-eslint/eslint-plugin":"^5.30.0","@typescript-eslint/parser":"^5.30.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-n":"^15.2.3","eslint-plugin-promise":"^6.0.0","typescript":"^4.7.4"},"_id":"@dushenyan/eslint-config@0.1.1","_integrity":"sha512-5ZD/Kv/7OAwj86Zu9ENtsK/JCNEwv5czkR/amkh4NrwZ0pJhqM7CA5eHiPofeXJK/0dhuLPtcnVi7/R5nFHctA==","_resolved":"/private/var/folders/2y/r_czfbds5ml8n0kn4g6s947m0000gn/T/39889ffd971aa26c7f9c30297073bc21/dushenyan-eslint-config-0.1.1.tgz","_from":"file:dushenyan-eslint-config-0.1.1.tgz","_nodeVersion":"14.17.0","_npmVersion":"8.15.1","dist":{"integrity":"sha512-5ZD/Kv/7OAwj86Zu9ENtsK/JCNEwv5czkR/amkh4NrwZ0pJhqM7CA5eHiPofeXJK/0dhuLPtcnVi7/R5nFHctA==","shasum":"99e3da6946166c3f34235d6f5b5db6ec6d08e39f","tarball":"https://registry.npmjs.org/@dushenyan/eslint-config/-/eslint-config-0.1.1.tgz","fileCount":3,"unpackedSize":5265,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHDuR9jnI/IyP16FVa8mfIJMGmvdcSA0a8WvLYRQt6ygIgc68ohwi3PuW03OAqEb6HbjqP1IQVzFzxaXpiNsspJcY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWgxVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp22A/8DjelGMzRPzB4hsGqXzRYMqGYdypbhSinx+u875MUExTPpKiJ\r\nefKayMC4d7WoClCFmy3lzB+L57Qgz8IMa7LLIGRvqBzj/GBDgAeyUScL5qMX\r\nD63fxXKNH13nEdZ2MW58r1VHxni85VjQaJsWODqu8pU3MQ+WAzi1QaJJ0PlE\r\nXWkuNUaF6q9RAss5NCzl/wLEjtL3+TKk0K/PMbqoiEb0ePVdd7B43VrjL3gd\r\n+AZ83YaDyXqQhhUt9iSImhVZoCd0ifRhlpJ6DRcW2wWWIn3XNLZ430EL/NgJ\r\nw6dISGtcUKdvzGfW6n37NIBFAzN3j8fCX7duHIU/2eTtAB3mARMWyPFUrJVD\r\nMZRKRXrbStImT/Dz+IUvfHB8f5oqZS6tL50cL5lJnxoc4lY4pAdi6r/ewFF4\r\n3kQDmqtBTdOGjTXE9pvV6E2ymNNW31Q63o13XFlyPPAUQqX9d9xG4L9wLQG6\r\nZoAconFIsxp6+6RZFXUcMoCOdOY035ngHSUwjIwGpQIRByAvvR+SGGSR5Ixa\r\n29frTOhIvMyhBaWGxYJUXEkcAkOIxGpvjyY8/vzIHoGtO9DNS8jdKXGgZfo8\r\ncmijmtu2QIAUnSb9eQihAzzZHpvDQWLRJY6WlJf4dAbg2Xh0JMBMw4iDXSL5\r\n7BWoAGCipmpJz6JMDN/Aann2E2SUB39KT4I=\r\n=VGpl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dbudaiya","email":"2645472474@qq.com"},"directories":{},"maintainers":[{"name":"dbudaiya","email":"2645472474@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.1.1_1666845781519_0.42718620587758527"},"_hasShrinkwrap":false},"0.1.2":{"name":"@dushenyan/eslint-config","version":"0.1.2","description":"Dushenyan ESLint config presets","main":"index.js","publishConfig":{"access":"public"},"devDependencies":{"eslint":"^8.18.0"},"keywords":["eslint-config"],"peerDependencies":{"eslint":">=8.18.0"},"author":{"name":"Dushenyan","email":"2645472474@qq.com"},"license":"ISC","dependencies":{"@dushenyan/eslint-config-vue":"^0.1.2","@typescript-eslint/eslint-plugin":"^5.30.0","@typescript-eslint/parser":"^5.30.0","eslint-config-standard":"^17.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-n":"^15.2.3","eslint-plugin-promise":"^6.0.0","typescript":"^4.7.4"},"_id":"@dushenyan/eslint-config@0.1.2","_integrity":"sha512-MjVpvbueNfZSaS9QE3qe3ZWdRBYFBh4HYNpD+/6BR8E4kT8z9Y7sguC7C5FcEnyxWTlk318eUpuy1vIZSiPUag==","_resolved":"/private/var/folders/2y/r_czfbds5ml8n0kn4g6s947m0000gn/T/80f1c4e75e6fb404ab09e0af949afe9c/dushenyan-eslint-config-0.1.2.tgz","_from":"file:dushenyan-eslint-config-0.1.2.tgz","_nodeVersion":"14.17.0","_npmVersion":"8.15.1","dist":{"integrity":"sha512-MjVpvbueNfZSaS9QE3qe3ZWdRBYFBh4HYNpD+/6BR8E4kT8z9Y7sguC7C5FcEnyxWTlk318eUpuy1vIZSiPUag==","shasum":"6a71d129fb4ed6b21f604444e3e437bdf8198cdc","tarball":"https://registry.npmjs.org/@dushenyan/eslint-config/-/eslint-config-0.1.2.tgz","fileCount":3,"unpackedSize":5265,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHwaBgiZinUKV4iE1Racy0lTefaOaUrd5NHF2hfnf0xVAiEA/VfZ4MH0bkOkzWi43SCycM9sZzwgDYUxmOrtcUaV5NU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWzgGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnsQ/9HlaFU7XGRpzao/frbZYy2KgDVolO7iuBU3Kdx8g71V1O0gs7\r\nPCQbgA2xzvypQp+GsBoc7Le+8sduPA/EnKOsGARqQuXYnnk05HrtLpoznRNF\r\nx1JZ/br5UOqrTg38vRzC9XIIIuD/lqkoJ9UzWlx8/OgyceWtdfXrLRErHPvG\r\nCCINjHw+WPWiTogGI8E/FYdrLGKClwUdXgrV6cWAow3nJSvnN3E2TNbi9VZD\r\nkEru0mwZtfOK2iWqVWT9r0yr7yYJStyryWV+M62ZCoY+o6bjYG7gY7UP/h31\r\nG5zipMLE2y1kQj3ffVgyLVLL3JLIhdBB5hBaPMUNWCcC1R/5b3xGeue/hoKu\r\nxjhBt8cAc3DmFN+4ASBm6MzwenxbqCckfqDozZNJ3UDaNrM2wPHmkM0R+JQT\r\nJpW/lhR3RReCNmbnL4licAG2FT4j4XlY2OFo2gfKrLgDpLcoX2yvV39a15rW\r\n99Gyvuro97dLRRYB8Cq0CSmlmLchaq7SQVYTozpPuOiGpqKluBrg2kLr53O0\r\n1VQ6ELaQX3407QDDzWMBCMXrvRQYxVXCIOdZKOjBbRO/PSpbm3kw/xFTeWKL\r\n1xBgC+cmAjCdwQAErRrTcKnkM0/wDPSWN9ET8EhuGRki/839cbL0UT0+6fu6\r\nkFNF8Xarv/Onct7aOTcwxbyizTEQYFZxI8A=\r\n=kvrv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dbudaiya","email":"2645472474@qq.com"},"directories":{},"maintainers":[{"name":"dbudaiya","email":"2645472474@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.1.2_1666922501999_0.7011468063065729"},"_hasShrinkwrap":false}},"maintainers":[{"name":"dbudaiya","email":"2645472474@qq.com"}],"description":"Dushenyan ESLint config presets","keywords":["eslint-config"],"author":{"name":"Dushenyan","email":"2645472474@qq.com"},"license":"ISC","readme":"# eslint-config\n![NPM](https://img.shields.io/npm/l/@dushenyan/eslint-config) &nbsp;\n![npm (scoped)](https://img.shields.io/npm/v/@dushenyan/eslint-config?color=%20) <br/>\n\nAntzy ESLint config presets\n\n-  Supports `vue`  `ts` `js`\n\n# Install\n```\npnpm add eslint -D\npnpm add @dushenyan/eslint-config -D\n```\n\n# Config eslintrc.js\n```\n{\n  \"extends\":\"@dushenyan\"\n}\n```\n\n# Used Rules\nThe following configuration has been used and will be fixed automatically <br><br>\n\n## Base Config \n\n|        used rules        |            explain             |\n| :----------------------: | :----------------------------: |\n|       arrow-parens       |    箭头函数去掉不必要的括号      |\n|       sort-imports       |    import 单行从大到小排序      |\n|    no-useless-return     |     关闭不允许多余的return      |\n| no-multiple-empty-lines  |         不允许多个空行          |\n|  array-bracket-newline   |    数组括号前后 >= 3个换行       |\n|  array-element-newline   |  数组括号内的元素 >= 3个换行      |\n|  function-paren-newline  | 函数括号内参数有一个换行就换行     |\n| newline-per-chained-call |       方法链 >= 3个换行         |\n|   object-curly-newline   |    import 解构 超过6个换行      |\n| object-property-newline  | 花括号属性强制换行，默认一个参数不换行 |\n| no-extra-label           | 禁用不必要的标签 |\n| object-property-newline  | 花括号属性强制换行，默认一个参数不换行 |\n| decimal                  | 禁止浮点小数 |\n| switch-colon-spacing     | switch 的冒号左右有空格 |\n| implicit-arrow-linebreak  | 箭头函数体后面不能换行 |\n| multiline-comment-style  | 对多行注释格式化 |\n| operator-assignment      | 简化赋值操作 |\n| template-tag-spacing  | 函数调用模板字符串后面不能有空格 |\n| object-shorthand  | 对象字面量中方法和属性使用简写语法 |\n| prefer-arrow-callback  | 回调使用箭头函数 |\n| prefer-template  | 使用字符串模板连接 |\n| yield-star-spacing  | yield* 周围空格 |\n\n\n\n<br/><br/>\n\n## Typescript Config \n\n|        used rules        |            explain             |\n| :----------------------: | :----------------------------: |\n|  no-non-null-assertion   |    去掉禁止使用!后缀运算符     |\n|       array-type         |            使用数组 T[]      |\n| sort-type-union-intersection-members |  （｜ or &） 排序 |\n| space-infix-ops          |         中缀运算符周围需要间距 |\n| semi                     |         禁止不必要的分号 |\n| comma-dangle             |         要求或不允许尾随逗号 |\n| type-annotation-spacing  |         类型注释间距 |\n| consistent-generic-constructors  |  如果使用构造函数 泛型就要这样写 new Map<string,number>() |\n| consistent-indexed-object-style  |         强制使用 Record |\n| member-delimiter-style    |   interface type 不要分号和逗号 |\n| method-signature-style    |   函数声明 func: (arg: string) => number |\n| space-before-blocks   |   interface 后面加空格 |\n| consistent-type-imports    |   使用引用类型时自动加上 type |\n| consistent-type-definitions    |   对象类型使用interface |\n\n\n\n\n\n\n<br/><br/>\n\n## Vue Config \n\n|        used rules        |            explain             |\n| :----------------------: | :----------------------------: |\n|  require-default-prop   | （off） 关闭强制props有默认值     |\n|  no-setup-props-destructure  |   （off）setup可以解构    |\n| multi-word-component-names          | （off）  组价名可以简短 |\n|        html-indent           |  template 缩进两列 |\n|        script-indent           |  script 缩进两列 |\n| max-attributes-per-line        |  属性超过3个自动换行，换行后 同一行不能超过1个 |\n|  html-closing-bracket-newline  |  标签右箭头换行 |\n|  html-closing-bracket-spacing  |  禁止右箭头有空格 |\n|  html-self-closing             |  自闭合标签 |\n| mustache-interpolation-spacing |  {{ 这里有空格 }} |\n|  no-multi-spaces               |  不允许多个空格 |\n|no-spaces-around-equal-signs-in-attribute  | 属性周围不允许等号有空格 |\n|  component-tags-order          |  vue格式['script','template'] |\n|  define-macros-order           |  强制 defineProps defineEmits的顺序 |\n|  static-class-names-order      |  class名排序 |\n\n\n\n\n\n\n\n\n\n","readmeFilename":"README.md"}