{"_id":"@chuhoman/eslint-config","_rev":"4-1b85fb6fad481a6eab5a329f8010833f","name":"@chuhoman/eslint-config","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.9":{"name":"@chuhoman/eslint-config","version":"0.0.9","description":"ChuHoMan eslint-config","author":{"name":"chuhoman"},"license":"MIT","homepage":"https://github.com/ChuHoMan/eslint-config#readme","repository":{"type":"git","url":"git+https://github.com/ChuHoMan/eslint-config.git"},"bugs":{"url":"https://github.com/ChuHoMan/eslint-config/issues"},"keywords":["eslint-config"],"main":"index.js","peerDependencies":{"eslint":">=7.4.0"},"dependencies":{"@chuhoman/eslint-config-vue":"0.0.9","@typescript-eslint/eslint-plugin":"^5.36.1","@typescript-eslint/parser":"^5.36.1","eslint-define-config":"^1.12.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jsonc":"^2.4.0","eslint-plugin-markdown":"^3.0.0","eslint-plugin-n":"^15.2.5","eslint-plugin-promise":"^6.0.1","eslint-plugin-unicorn":"^43.0.2","eslint-plugin-vue":"^9.4.0","eslint-plugin-yml":"^1.1.0","jsonc-eslint-parser":"^2.1.0","yaml-eslint-parser":"^1.1.0"},"devDependencies":{"eslint":"^8.23.0"},"_id":"@chuhoman/eslint-config@0.0.9","_integrity":"sha512-FJnfXPUkIk5thbgJel5z3kuKcbZNekV77SXyiSIX58RuodjQ3/7CWq723bTdLmsEhFgztRj1OnrYOdsu7Z4oIw==","_resolved":"/Users/zhuhaowen/Desktop/GithubProject/eslint-config/packages/all/chuhoman-eslint-config-0.0.9.tgz","_from":"file:chuhoman-eslint-config-0.0.9.tgz","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-FJnfXPUkIk5thbgJel5z3kuKcbZNekV77SXyiSIX58RuodjQ3/7CWq723bTdLmsEhFgztRj1OnrYOdsu7Z4oIw==","shasum":"e92aad2358e0c7edbaf66f85f4cd6a4907c1291f","tarball":"https://registry.npmjs.org/@chuhoman/eslint-config/-/eslint-config-0.0.9.tgz","fileCount":3,"unpackedSize":2397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhTsTDs9rf7j711YF5FTblAAgLjEEQC86Wy/3pwMAkyAiEA75fAi7uvq2SUolsHTaBuI0rwJJwYkjD69me/8bYeAhw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjw6tuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKQQ/+NJRvpjNdQOqodh6DgNez/kGpI8TIXIhfeXcAFPyskYdVsa40\r\nMSnr44reYEyMmhRUwlKLoNkQEVQ9wbl0hlhLa5wz/hhi9uWQNt6yiJZeAIci\r\nWDtVsugYuuKck+pv8nchlBjmheb8yQClU+mJKEOTyk3WdOSrTd7BMa3oPFgh\r\nVnM2ZSWpLAYXl3jdvWpsP03O0zhuwpHyJjcIkVTbDIvkZesQ7wpot4Q3WhzB\r\nzIX3v/5mp6irI9JH5X46zRe+6JcdFhC4FKrmi+R6oflcbpBhmO+Ty0IdtoWH\r\nvv7/84witLZpvLfZnMiG3aG8n4ZU2ByrthOZRS4oMWRWvREp9Y4hopkyskvM\r\nMRftsaLig2STf4AI2E3fokveYyDFmfERIclGS46iktzAfLOpzrjQUvHkVvnG\r\nqF+KHVHRlRlS2BKHD1J4xkIOm8lDVsjvcK0i4yR8aa/ALxpW7IjuyiDUdSxg\r\nK85I16sG54JZ4cpmeA9+pjnsH4QxY8k7N6QTUwjtmtbkJB4eTlx8u/bIUd3R\r\nzCmjCat7NvlKVMLhnLVi1avzmYZ6S6w79AOKKlkhqmmjdjjhvvT1jOYObACs\r\nxZooIK+VZuoJU31wzut21Bn/w7Fu1rXFuq/FZD/7726w/caWpVTUxD+UlJHr\r\n5JxTDRBgmbFgbnwWoOaTpx1NWPwTr3tDi1k=\r\n=D6nX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chuhoman","email":"chuhoman@foxmail.com"},"directories":{},"maintainers":[{"name":"chuhoman","email":"chuhoman@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.0.9_1673767790485_0.01834991610159986"},"_hasShrinkwrap":false},"0.0.10":{"name":"@chuhoman/eslint-config","version":"0.0.10","description":"ChuHoMan eslint-config","author":{"name":"chuhoman"},"license":"MIT","homepage":"https://github.com/ChuHoMan/eslint-config#readme","repository":{"type":"git","url":"git+https://github.com/ChuHoMan/eslint-config.git"},"bugs":{"url":"https://github.com/ChuHoMan/eslint-config/issues"},"keywords":["eslint-config"],"main":"index.js","peerDependencies":{"eslint":">=7.4.0"},"dependencies":{"@chuhoman/eslint-config-vue":"0.0.10","@typescript-eslint/eslint-plugin":"^5.36.1","@typescript-eslint/parser":"^5.36.1","eslint-define-config":"^1.12.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jsonc":"^2.4.0","eslint-plugin-markdown":"^3.0.0","eslint-plugin-n":"^15.2.5","eslint-plugin-promise":"^6.0.1","eslint-plugin-unicorn":"^43.0.2","eslint-plugin-vue":"^9.4.0","eslint-plugin-yml":"^1.1.0","jsonc-eslint-parser":"^2.1.0","yaml-eslint-parser":"^1.1.0"},"devDependencies":{"eslint":"^8.23.0"},"_id":"@chuhoman/eslint-config@0.0.10","_integrity":"sha512-LXLQw/Qvo8zt+ceeLSZfVF8QBk+3ZYEYmspKLglrE5dxXV9/nApCq7NYSpU+TLtzNphOK+zmQk3Ytq5nFUZZ9Q==","_resolved":"/Users/zhuhaowen/Desktop/GithubProject/eslint-config/packages/all/chuhoman-eslint-config-0.0.10.tgz","_from":"file:chuhoman-eslint-config-0.0.10.tgz","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-LXLQw/Qvo8zt+ceeLSZfVF8QBk+3ZYEYmspKLglrE5dxXV9/nApCq7NYSpU+TLtzNphOK+zmQk3Ytq5nFUZZ9Q==","shasum":"f798a016b03592fe22f2673bca34a8762e6daaba","tarball":"https://registry.npmjs.org/@chuhoman/eslint-config/-/eslint-config-0.0.10.tgz","fileCount":3,"unpackedSize":2399,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDY+r4npm7c0xDzoftbxyFVJm1oVBixx/KY26WM3wWkpAiEA9otPWk3CTUr9u6RvsJ/fF0rnR+G65NrcyyuESCVnN44="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFbM5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYxg//XDS9bBqxgUELoilmkBHMWZHmKMt9h+7DgHCuOO0+bkauip6k\r\n4EPHdiKV+6ichhM2jnChLiXqoCJxTd3qHL7v5xeVtWWChVZt/1+HiRwnjk01\r\ngqZ78x8jj2dFYX9zLqyyWOPBjbw34P9YoHdlFgnS90dG7G3FbGkCMrJOWtvZ\r\nDtsLTgZdpIjCc3/GHCEhbjlE4Gp/cz3++kIGGb1jIOQ5L10cqlrL20sFFyUb\r\n7Md6J2VERlvFG/MP5bWl2pYDgK0xk6Olc217iuqTm6vo2bjD14bCjRHHCpdZ\r\nzJjjM4kXqprTmy/VF4TOy3nUzFoO3MewBQEsPDAZWwJxrBV3pPwtnwLtDQXo\r\nZ3ELG/A7utYpB9EcICK+Jiv19O6kwQbhuRlU309RS+tGnNxbWnrEjzprwM38\r\n01ZL3GwaV2QioopSYSIq2dIVauwuEqGwT8yCGwsT3S6JEwKg1TQW59Dt4q9h\r\nZUv23Ob6FXXdcqVCkuFnjirnuMc9N/SwHBj85bCQ294HoF67PKW3q6LPAv3l\r\nZVRTmSaniL9TrqJmAFgmuaozWQaduv2u135NJshuZl3RNmL7rNgxsaEOANK5\r\n/HCfTRiiqPXRs8u51AFKSwWxTWYrDV8GYXd+tPP1exTkWhu+kMrlpf/qRLDu\r\nnzmvDIqVEtuTvRPbFBJoCxj237yl6TpQJkM=\r\n=jSs7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chuhoman","email":"chuhoman@foxmail.com"},"directories":{},"maintainers":[{"name":"chuhoman","email":"chuhoman@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.0.10_1679143737694_0.14471853630598575"},"_hasShrinkwrap":false},"0.1.0":{"name":"@chuhoman/eslint-config","version":"0.1.0","description":"ChuHoMan eslint-config","author":{"name":"chuhoman"},"license":"MIT","homepage":"https://github.com/ChuHoMan/eslint-config#readme","repository":{"type":"git","url":"git+https://github.com/ChuHoMan/eslint-config.git"},"bugs":{"url":"https://github.com/ChuHoMan/eslint-config/issues"},"keywords":["eslint-config"],"main":"index.js","peerDependencies":{"eslint":">=7.4.0"},"dependencies":{"@typescript-eslint/eslint-plugin":"^5.36.1","@typescript-eslint/parser":"^5.36.1","eslint-define-config":"^1.12.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jsonc":"^2.4.0","eslint-plugin-markdown":"^3.0.0","eslint-plugin-n":"^15.2.5","eslint-plugin-promise":"^6.0.1","eslint-plugin-unicorn":"^43.0.2","eslint-plugin-vue":"^9.4.0","eslint-plugin-yml":"^1.1.0","jsonc-eslint-parser":"^2.1.0","yaml-eslint-parser":"^1.1.0","@chuhoman/eslint-config-vue":"0.1.0"},"devDependencies":{"eslint":"^8.23.0"},"_id":"@chuhoman/eslint-config@0.1.0","_integrity":"sha512-m+OvfJ7dZyaeQPFCQrVj5ry+dtWn0FMHFE0w2S0pgnz8CY7RXw1nZFDw0xtkiFEyJT5Tfin5qu0TM67Mrv5uVQ==","_resolved":"/private/var/folders/bp/vm0_nmfs2xzc4sqbrg2tgzzw0000gn/T/3b4529b6924215e4996e3eb6fa3d58aa/chuhoman-eslint-config-0.1.0.tgz","_from":"file:chuhoman-eslint-config-0.1.0.tgz","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-m+OvfJ7dZyaeQPFCQrVj5ry+dtWn0FMHFE0w2S0pgnz8CY7RXw1nZFDw0xtkiFEyJT5Tfin5qu0TM67Mrv5uVQ==","shasum":"1487d3d1dc3639d44f116cf6a0f4b2c762206536","tarball":"https://registry.npmjs.org/@chuhoman/eslint-config/-/eslint-config-0.1.0.tgz","fileCount":3,"unpackedSize":2397,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG86DS5T5RkRnjGVJ9H5Nn9BxnD8r2hJA07AR0F+GYDpAiAwtDIqNQEcgjltXaxpDDOWopVyyHq+Wos95aR1oEyx4A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHclpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoiyQ//Q3TcyhJktcApivnyqtBSy2WvtEGKTeq09xHIsTppDw8Jq7Uf\r\nLha0YVi/98kCuRIDH7Smwj9hYExvFiUmrnPTlXe/ZtAobxWNMFFe6QZsDEhV\r\nRDHZhA0i12qiy7a77AOaGjuiQoaCTV/GO1HkLgzPJ3ZiSckG7MFlPsrUOU98\r\nF8GOk6Wfj+bZB3BCskSpbjXG/wRFMpeFHXIqfr8o/0ExPOYr3pTW4FR1os8m\r\nSZ7ae/kzcl/iXunxWKVQc0ri0eysF5fkR2JPs0MrRAvC8AQHDCUKrx/eTnZG\r\npTzgBNE4D565j6URwTkK5xZ//u7lUrVCJv2Pi1zXtHzCnjbWQhNXbFX4yJxq\r\n/aY/mYEPoD9+tPHefqgdaM1MRTPQeGqtBbJaszwJyrF8SPL6Ibs7d3wIfQ+W\r\nbzTumFUwrSSWJaTFFoTaUAqW7dL9IUwdeGuDJGlElxA6bR2rQNOgMcJw91Ww\r\nTX1uFjeXZWYxxHjn0WAMzPkIZ8qd0vtE8TYXGMVK+QFB9/MwiP/xkAUTWe7d\r\n4iHgPDn1dhQVd+Sy96VfImPlM18GhFV+Pu6i9gYUW1rb30ZW26BsHeL0yUrP\r\nhqo0ORgslGh8pc/S/ejg2hPgNORBqm5daU+4PFtXfAk0kAjN3XdTJesX6I1Z\r\nTb/ZRXjdOgqK7bhg8eC44JfCpAXahaXHwx0=\r\n=EJ6n\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chuhoman","email":"chuhoman@foxmail.com"},"directories":{},"maintainers":[{"name":"chuhoman","email":"chuhoman@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.1.0_1679673705188_0.17862080062717323"},"_hasShrinkwrap":false},"1.0.2":{"name":"@chuhoman/eslint-config","type":"module","version":"1.0.2","packageManager":"pnpm@7.23.0","description":"ChuHoMan eslint-config","author":{"name":"chuhoman"},"license":"MIT","homepage":"https://github.com/ChuHoMan/eslint-config#readme","repository":{"type":"git","url":"git+https://github.com/ChuHoMan/eslint-config.git"},"bugs":{"url":"https://github.com/ChuHoMan/eslint-config/issues"},"keywords":[],"exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.js"}},"main":"./dist/index.js","types":"./dist/index.d.ts","peerDependencies":{"eslint":">=8.40.0"},"dependencies":{"@chuhoman/eslint-config":"^0.1.0","@stylistic/eslint-plugin":"^1.0.0","@typescript-eslint/eslint-plugin":"^6.9.1","@typescript-eslint/parser":"^6.9.1","eslint-config-flat-gitignore":"^0.1.1","eslint-define-config":"^1.24.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-i":"^2.29.0","eslint-plugin-import":"^2.29.0","eslint-plugin-jsonc":"^2.10.0","eslint-plugin-markdown":"^3.0.1","eslint-plugin-n":"^15.7.0","eslint-plugin-no-only-tests":"^3.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-unicorn":"^43.0.2","eslint-plugin-unused-imports":"^3.0.0","eslint-plugin-vitest":"^0.3.9","eslint-plugin-vue":"^9.18.1","eslint-plugin-yml":"^1.10.0","globals":"^13.23.0","jsonc-eslint-parser":"^2.4.0","local-pkg":"^0.5.0","yaml-eslint-parser":"^1.2.2"},"devDependencies":{"@types/node":"^20.8.10","bumpp":"^8.2.1","eslint":"^8.53.0","eslint-flat-config-viewer":"^0.1.0","sucrase":"^3.34.0","tsup":"^7.2.0","typescript":"^5.2.2"},"scripts":{"build":"tsup src/index.ts --format esm,cjs --clean --dts","stub":"tsup src/index.ts --format esm","dev":"tsup src/index.ts --format esm,cjs --watch & eslint-flat-config-viewer","lint":"eslint . --fix","typecheck":"tsc --noEmit","release":"bumpp package.json --commit --push --tag && pnpm publish --access public"},"_id":"@chuhoman/eslint-config@1.0.2","_integrity":"sha512-dvFMtlaXdQKaSv/aDok08qWYVnObykDtbgYIYEzsrXv9SQD3kwJqjdS4Bbus531iexjxWSU6OYIaxxGdcetfcw==","_resolved":"/private/var/folders/bp/vm0_nmfs2xzc4sqbrg2tgzzw0000gn/T/72093cf2d8a7d7e917ec2b5f7845741b/chuhoman-eslint-config-1.0.2.tgz","_from":"file:chuhoman-eslint-config-1.0.2.tgz","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-dvFMtlaXdQKaSv/aDok08qWYVnObykDtbgYIYEzsrXv9SQD3kwJqjdS4Bbus531iexjxWSU6OYIaxxGdcetfcw==","shasum":"36f064ade035355a1ae22b5293b0e3b2b0b3c47b","tarball":"https://registry.npmjs.org/@chuhoman/eslint-config/-/eslint-config-1.0.2.tgz","fileCount":9,"unpackedSize":2867565,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHvyc2f9USM7B7uPGfgMIkHCiJISu8qTEwAEr4G//SHpAiEAn59fcbIzLQfy/lAFGhxYb6PH/56hvsksefaobhIFcFU="}]},"_npmUser":{"name":"chuhoman","email":"chuhoman@foxmail.com"},"directories":{},"maintainers":[{"name":"chuhoman","email":"chuhoman@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_1.0.2_1699256665275_0.8347434208366802"},"_hasShrinkwrap":false},"1.0.3":{"name":"@chuhoman/eslint-config","type":"module","version":"1.0.3","packageManager":"pnpm@7.23.0","description":"ChuHoMan eslint-config","author":{"name":"chuhoman"},"license":"MIT","homepage":"https://github.com/ChuHoMan/eslint-config#readme","repository":{"type":"git","url":"git+https://github.com/ChuHoMan/eslint-config.git"},"bugs":{"url":"https://github.com/ChuHoMan/eslint-config/issues"},"keywords":[],"exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.js"}},"main":"./dist/index.js","types":"./dist/index.d.ts","peerDependencies":{"eslint":">=8.40.0"},"dependencies":{"@stylistic/eslint-plugin":"^1.0.0","@typescript-eslint/eslint-plugin":"^6.9.1","@typescript-eslint/parser":"^6.9.1","eslint-config-flat-gitignore":"^0.1.1","eslint-define-config":"^1.24.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-i":"^2.29.0","eslint-plugin-import":"^2.29.0","eslint-plugin-jsonc":"^2.10.0","eslint-plugin-markdown":"^3.0.1","eslint-plugin-n":"^15.7.0","eslint-plugin-no-only-tests":"^3.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-unicorn":"^43.0.2","eslint-plugin-unused-imports":"^3.0.0","eslint-plugin-vitest":"^0.3.9","eslint-plugin-vue":"^9.18.1","eslint-plugin-yml":"^1.10.0","globals":"^13.23.0","jsonc-eslint-parser":"^2.4.0","local-pkg":"^0.5.0","yaml-eslint-parser":"^1.2.2"},"devDependencies":{"@types/fs-extra":"^11.0.4","@types/node":"^20.8.10","bumpp":"^8.2.1","eslint":"^8.53.0","eslint-flat-config-viewer":"^0.1.0","execa":"^8.0.1","fs-extra":"^11.1.1","sucrase":"^3.34.0","tsup":"^7.2.0","typescript":"^5.2.2","vitest":"^0.34.6"},"scripts":{"build":"tsup src/index.ts --format esm,cjs --clean --dts","stub":"tsup src/index.ts --format esm","dev":"tsup src/index.ts --format esm,cjs --watch & eslint-flat-config-viewer","lint":"eslint . --fix","typecheck":"tsc --noEmit","test":"vitest","release":"bumpp package.json --commit --push --tag && pnpm publish --access public"},"_id":"@chuhoman/eslint-config@1.0.3","_integrity":"sha512-y3EgfLytepaaVXOCcjwPys86I5qTA1EunN3Ab9UBq1FdhrB32UE6nDbDNVns+/J9v1ebFmCxsEio+UxzaXdGNg==","_resolved":"/private/var/folders/bp/vm0_nmfs2xzc4sqbrg2tgzzw0000gn/T/61effe64553ad5cda2b8053b3d01ae00/chuhoman-eslint-config-1.0.3.tgz","_from":"file:chuhoman-eslint-config-1.0.3.tgz","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-y3EgfLytepaaVXOCcjwPys86I5qTA1EunN3Ab9UBq1FdhrB32UE6nDbDNVns+/J9v1ebFmCxsEio+UxzaXdGNg==","shasum":"77d5f4692368a0db7fd264bf84374fe2f5db974d","tarball":"https://registry.npmjs.org/@chuhoman/eslint-config/-/eslint-config-1.0.3.tgz","fileCount":9,"unpackedSize":2867994,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEi0uSGvbdCx4vY356JODdsyFNpE/HoL7HTqnFay+XgOAiBTFpctziex0b+vIcFu82ezmi2J3OxRlHPgqvo9KSLrZw=="}]},"_npmUser":{"name":"chuhoman","email":"chuhoman@foxmail.com"},"directories":{},"maintainers":[{"name":"chuhoman","email":"chuhoman@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_1.0.3_1700381200341_0.33049789328131474"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-15T07:29:50.428Z","0.0.9":"2023-01-15T07:29:50.656Z","modified":"2023-11-19T08:06:40.827Z","0.0.10":"2023-03-18T12:48:57.847Z","0.1.0":"2023-03-24T16:01:45.354Z","1.0.2":"2023-11-06T07:44:25.544Z","1.0.3":"2023-11-19T08:06:40.659Z"},"maintainers":[{"name":"chuhoman","email":"chuhoman@foxmail.com"}],"description":"ChuHoMan eslint-config","homepage":"https://github.com/ChuHoMan/eslint-config#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/ChuHoMan/eslint-config.git"},"author":{"name":"chuhoman"},"bugs":{"url":"https://github.com/ChuHoMan/eslint-config/issues"},"license":"MIT","readme":"# @chuhoman/eslint-config\n\n[![npm](https://img.shields.io/npm/v/@chuhoman/eslint-config?color=91B2D4&label=)](https://npmjs.com/package/@chuhoman/eslint-config)\n\n<p align='center'>\n<b>English</b> | <a href=\"https://github.com/ChuHoMan/eslint-config/blob/main/README.zh-CN.md\">简体中文</a>\n</p>\n\n\n> [!IMPORTANT]\n> Since v1.0.0, this config is rewritten to the new [ESLint Flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new).\n\n## Usage\n\n### Install\n\n```bash\n# pnpm\npnpm install -D eslint @chuhoman/eslint-config\n```\n\n### Create config file\n\nWith [`\"type\": \"module\"`](https://nodejs.org/api/packages.html#type) in `package.json` (recommended):\n\n```js\n// eslint.config.js\nimport chuhoman from '@chuhoman/eslint-config';\n\nexport default chuhoman();\n```\n\nWith CJS:\n\n```js\n// eslint.config.js\nconst chuhoman = require('@chuhoman/eslint-config').default;\n\nmodule.exports = chuhoman();\n```\n\n### Add script for package.json\n\nFor example:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\",\n    \"lint:fix\": \"eslint . --fix\"\n  }\n}\n```\n\n### Config VS Code\n\nInstall [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and create `.vscode/settings.json`\n\n```json\n{\n  \"prettier.enable\": false,\n  // Enable the ESlint flat config support\n  \"eslint.experimental.useFlatConfig\": true,\n\n  // Disable the default formatter, use eslint instead\n  \"editor.formatOnSave\": false,\n\n  // Auto fix\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true,\n    \"source.organizeImports\": false\n  },\n\n  // Silent the stylistic rules in you IDE, but still auto fix them\n  \"eslint.rules.customizations\": [\n    { \"rule\": \"style/*\", \"severity\": \"off\" },\n    { \"rule\": \"*-indent\", \"severity\": \"off\" },\n    { \"rule\": \"*-spacing\", \"severity\": \"off\" },\n    { \"rule\": \"*-spaces\", \"severity\": \"off\" },\n    { \"rule\": \"*-order\", \"severity\": \"off\" },\n    { \"rule\": \"*-dangle\", \"severity\": \"off\" },\n    { \"rule\": \"*-newline\", \"severity\": \"off\" },\n    { \"rule\": \"*quotes\", \"severity\": \"off\" },\n    { \"rule\": \"*semi\", \"severity\": \"off\" }\n  ],\n\n  // Enable eslint for all supported languages\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\",\n    \"vue\",\n    \"html\",\n    \"markdown\",\n    \"json\",\n    \"jsonc\",\n    \"yaml\"\n  ]\n}\n```\n\n### Customization\n\nyou can configure each integration individually, for example:\n\n```js\n// eslint.config.js\nimport chuhoman from '@chuhoman/eslint-config';\n\nexport default chuhoman(\n  {\n  // Enable stylistic formatting rules\n  // stylistic: true,\n\n    // Or customize the stylistic rules\n    stylistic: {\n      indent: 2, // 4, or 'tab'\n      quotes: 'single', // or 'double'\n    },\n\n    // TypeScript and Vue are auto-detected, you can also explicitly enable them:\n    typescript: true,\n    vue: true,\n\n    // Disable jsonc and yaml support\n    jsonc: false,\n    yaml: false,\n\n    // `.eslintignore` is no longer supported in Flat config, use `ignores` instead\n    ignores: [\n      './fixtures',\n    // ...globs\n    ]\n  },\n  // From the second arguments they are ESLint Flat Configs\n  // you can have multiple configs\n  {\n    files: ['**/*.ts'],\n    rules: {},\n  },\n  {\n    rules: {},\n  },\n);\n```\n\n\n## Credits\n\nInspired by\n\n- [@antfu/eslint-config](https://github.com/antfu/eslint-config)\n\n## License\n\nMade with 💙\n\nPublished under [MIT License](./LICENSE).\n","readmeFilename":"README.md"}