{"_id":"@anyions/shared-config-eslint","_rev":"4-947bf0513ab700543a5ce302a0143593","name":"@anyions/shared-config-eslint","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.3":{"name":"@anyions/shared-config-eslint","version":"1.0.3","keywords":["eslint","eslint-config","eslint-config-typescript","eslint-config-unocss","eslint-config-vue","eslint-config-prettier","prettier"],"author":{"url":"https://github.com/anyions","name":"AnyIons","email":"anyions@hotmail.com"},"license":"MIT","_id":"@anyions/shared-config-eslint@1.0.3","maintainers":[{"name":"anyions","email":"anyions@hotmail.com"}],"homepage":"https://github.com/anyions/shared-config-eslint","bugs":{"url":"https://github.com/anyions/shared-config-eslint/issues"},"dist":{"shasum":"92942eb75127bdceea628737a976b78b6b7d2f9d","tarball":"https://registry.npmjs.org/@anyions/shared-config-eslint/-/shared-config-eslint-1.0.3.tgz","fileCount":7,"integrity":"sha512-NIO3G04cfcDueJ8ZQwWBBjfM3XsayLxOqlf0nYHlI8C1peaBng4s6VRuHC5pA3dBY+CfI7OrbNiqTDFoXhZXpg==","signatures":[{"sig":"MEYCIQDgaEWqsYVcq3NpJCtgpsGQjdZfNm5+T/Kkz5yAGmS+VgIhAI2ccOC+mmCwekaDmVgRwWGOxU+lGplGcEhW5NRNg/GJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1085504},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"6944f61d393e95097155102cac9bbbcb8e88a495","scripts":{"bump":"bumpp && npm -r publish --access=public","lint":"pnpm eslint .","build":"pnpm typegen && tsup --format esm,cjs --clean --dts","clean":"pnpm rimraf node_modules dist","typegen":"esno scripts/typegen.ts","lint:fix":"eslint . --cache --max-warnings 0 --fix","typecheck":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"anyions","email":"anyions@hotmail.com"},"repository":{"url":"git+https://github.com/anyions/shared-config-eslint.git"},"_npmVersion":"10.5.0","description":"AnyIons' shared eslint config presets with prettier","directories":{},"_nodeVersion":"21.7.3","dependencies":{"globals":"15.1.0","eslint-plugin-n":"17.4.0","@anyions/node-pkg":"^1.0.2","eslint-plugin-vue":"^9.25.0","vue-eslint-parser":"9.4.2","eslint-plugin-jsdoc":"^48.2.4","eslint-plugin-jsonc":"^2.15.1","jsonc-eslint-parser":"^2.4.0","@unocss/eslint-config":"^0.59.4","eslint-plugin-unicorn":"52.0.0","eslint-plugin-import-x":"0.5.0","eslint-plugin-markdown":"^5.0.0","eslint-plugin-prettier":"5.1.3","eslint-flat-config-utils":"^0.2.4","@typescript-eslint/parser":"7.8.0","eslint-plugin-perfectionist":"^2.10.0","eslint-config-flat-gitignore":"^0.1.5","eslint-plugin-unused-imports":"^3.2.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"7.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"esno":"^4.7.0","tsup":"8.0.2","bumpp":"^9.4.1","eslint":"9.2.0","rimraf":"^5.0.5","prettier":"^3.2.5","typescript":"5.4.5","@types/node":"20.12.10","@types/eslint":"8.56.10","eslint-typegen":"^0.2.4","@types/eslint-config-prettier":"6.11.3"},"peerDependencies":{"eslint":"9.2.0","globals":"15.1.0","prettier":"^3.2.5","eslint-plugin-n":"17.4.0","@anyions/node-pkg":"^1.0.2","eslint-plugin-vue":"^9.25.0","vue-eslint-parser":"9.4.2","eslint-plugin-jsdoc":"^48.2.4","eslint-plugin-jsonc":"^2.15.1","jsonc-eslint-parser":"^2.4.0","@unocss/eslint-config":"^0.59.4","eslint-plugin-unicorn":"52.0.0","eslint-plugin-import-x":"0.5.0","eslint-plugin-markdown":"^5.0.0","eslint-plugin-prettier":"5.1.3","eslint-flat-config-utils":"^0.2.4","@typescript-eslint/parser":"7.8.0","eslint-plugin-perfectionist":"^2.10.0","eslint-config-flat-gitignore":"^0.1.5","eslint-plugin-unused-imports":"^3.2.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/shared-config-eslint_1.0.3_1715579980896_0.8244177382839688","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@anyions/shared-config-eslint","version":"1.0.4","keywords":["eslint","eslint-config","eslint-config-typescript","eslint-config-unocss","eslint-config-vue","eslint-config-prettier","prettier"],"author":{"url":"https://github.com/anyions","name":"AnyIons","email":"anyions@hotmail.com"},"license":"MIT","_id":"@anyions/shared-config-eslint@1.0.4","maintainers":[{"name":"anyions","email":"anyions@hotmail.com"}],"homepage":"https://github.com/anyions/shared-config-eslint","bugs":{"url":"https://github.com/anyions/shared-config-eslint/issues"},"dist":{"shasum":"9ceaf051b5054ced0486a72c7fa1bffed4c43a68","tarball":"https://registry.npmjs.org/@anyions/shared-config-eslint/-/shared-config-eslint-1.0.4.tgz","fileCount":7,"integrity":"sha512-7fF1muA8f45fzsvwDg4lUrXDMKOuuyx1wPgHRWzFEBx/j/Wu3vmlDEiXXq/ACoSl1Nl1U7rkmqotVY3It8CYTA==","signatures":[{"sig":"MEUCIQD8aB7jhFQvxrU4nUsFXxS3hSdocdnX4joPoHXmddmDAAIgY09ApnA6P4dIOe/GBcuobjsCWSnOXknGgB8F8+1xFOA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1085503},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f7a814188dfdf90ca00a48e9bf240afc6e910657","scripts":{"bump":"bumpp && npm -r publish --access=public","lint":"pnpm eslint .","build":"pnpm typegen && tsup --format esm,cjs --clean --dts","clean":"pnpm rimraf node_modules dist","typegen":"esno scripts/typegen.ts","lint:fix":"eslint . --cache --max-warnings 0 --fix","typecheck":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"anyions","email":"anyions@hotmail.com"},"repository":{"url":"git+https://github.com/anyions/shared-config-eslint.git"},"_npmVersion":"10.5.0","description":"AnyIons' shared eslint config presets with prettier","directories":{},"_nodeVersion":"21.7.3","dependencies":{"globals":"15.1.0","eslint-plugin-n":"17.4.0","@anyions/node-pkg":"*","eslint-plugin-vue":"^9.25.0","vue-eslint-parser":"9.4.2","eslint-plugin-jsdoc":"^48.2.4","eslint-plugin-jsonc":"^2.15.1","jsonc-eslint-parser":"^2.4.0","@unocss/eslint-config":"^0.59.4","eslint-plugin-unicorn":"52.0.0","eslint-plugin-import-x":"0.5.0","eslint-plugin-markdown":"^5.0.0","eslint-plugin-prettier":"5.1.3","eslint-flat-config-utils":"^0.2.4","@typescript-eslint/parser":"7.8.0","eslint-plugin-perfectionist":"^2.10.0","eslint-config-flat-gitignore":"^0.1.5","eslint-plugin-unused-imports":"^3.2.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"7.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"esno":"^4.7.0","tsup":"8.0.2","bumpp":"^9.4.1","eslint":"9.2.0","rimraf":"^5.0.5","prettier":"^3.2.5","typescript":"5.4.5","@types/node":"20.12.10","@types/eslint":"8.56.10","eslint-typegen":"^0.2.4","@types/eslint-config-prettier":"6.11.3"},"peerDependencies":{"eslint":"9.2.0","globals":"15.1.0","prettier":"^3.2.5","eslint-plugin-n":"17.4.0","@anyions/node-pkg":"^1.0.2","eslint-plugin-vue":"^9.25.0","vue-eslint-parser":"9.4.2","eslint-plugin-jsdoc":"^48.2.4","eslint-plugin-jsonc":"^2.15.1","jsonc-eslint-parser":"^2.4.0","@unocss/eslint-config":"^0.59.4","eslint-plugin-unicorn":"52.0.0","eslint-plugin-import-x":"0.5.0","eslint-plugin-markdown":"^5.0.0","eslint-plugin-prettier":"5.1.3","eslint-flat-config-utils":"^0.2.4","@typescript-eslint/parser":"7.8.0","eslint-plugin-perfectionist":"^2.10.0","eslint-config-flat-gitignore":"^0.1.5","eslint-plugin-unused-imports":"^3.2.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/shared-config-eslint_1.0.4_1715581223400_0.2867151176375402","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@anyions/shared-config-eslint","version":"1.0.5","keywords":["eslint","eslint-config","eslint-config-typescript","eslint-config-unocss","eslint-config-vue","eslint-config-prettier","prettier"],"author":{"url":"https://github.com/anyions","name":"AnyIons","email":"anyions@hotmail.com"},"license":"MIT","_id":"@anyions/shared-config-eslint@1.0.5","maintainers":[{"name":"anyions","email":"anyions@hotmail.com"}],"homepage":"https://github.com/anyions/shared-config-eslint","bugs":{"url":"https://github.com/anyions/shared-config-eslint/issues"},"dist":{"shasum":"95ff81117248ebf47c7aa83198bd20a2f8552429","tarball":"https://registry.npmjs.org/@anyions/shared-config-eslint/-/shared-config-eslint-1.0.5.tgz","fileCount":7,"integrity":"sha512-gXZazkTAszzLlFYIHUko9QDQbFcczeYk7c82i6tb06TdicvaI+7KC6b0Mn6hpkfMzqSERkF7ldzmo3eUZW4FNw==","signatures":[{"sig":"MEQCIDQ51y5ZyY8xyxVX8X+AdKNaqMeb228u67GeIaoykHEEAiBQaOuJqHfrU6mSjFkKJ+jGt7sr7YQLBITN1WDhdE1+pw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1096695},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1d5e0beb92aaa0b64d7ec552dc35751350e5966b","scripts":{"bump":"bumpp && npm -r publish --access=public","lint":"pnpm eslint .","build":"pnpm typegen && tsup --format esm,cjs --clean --dts","clean":"pnpm rimraf node_modules dist","typegen":"esno scripts/typegen.ts","lint:fix":"eslint . --cache --max-warnings 0 --fix","typecheck":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"anyions","email":"anyions@hotmail.com"},"repository":{"url":"git+https://github.com/anyions/shared-config-eslint.git"},"_npmVersion":"10.7.0","description":"AnyIons' shared eslint config presets with prettier","directories":{},"_nodeVersion":"22.1.0","dependencies":{"globals":"15.1.0","eslint-plugin-n":"17.4.0","@anyions/node-pkg":"*","eslint-plugin-vue":"^9.25.0","vue-eslint-parser":"9.4.2","eslint-plugin-jsdoc":"^48.2.4","eslint-plugin-jsonc":"^2.15.1","jsonc-eslint-parser":"^2.4.0","@unocss/eslint-config":"^0.59.4","eslint-plugin-unicorn":"52.0.0","eslint-plugin-import-x":"0.5.0","eslint-plugin-markdown":"^5.0.0","eslint-plugin-prettier":"5.1.3","eslint-flat-config-utils":"^0.2.4","@typescript-eslint/parser":"7.8.0","eslint-plugin-react-hooks":"^4.6.2","@eslint-react/eslint-plugin":"^1.5.22","eslint-plugin-perfectionist":"^2.10.0","eslint-plugin-react-refresh":"^0.4.7","eslint-config-flat-gitignore":"^0.1.5","eslint-plugin-unused-imports":"^3.2.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"7.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"esno":"^4.7.0","tsup":"8.0.2","bumpp":"^9.4.1","eslint":"9.2.0","rimraf":"^5.0.5","prettier":"^3.2.5","typescript":"5.4.5","@types/node":"20.12.10","@types/eslint":"8.56.10","eslint-typegen":"^0.2.4","@types/eslint-config-prettier":"6.11.3"},"peerDependencies":{"eslint":"9.2.0","globals":"15.1.0","prettier":"^3.2.5","eslint-plugin-n":"17.4.0","@anyions/node-pkg":"^1.0.2","eslint-plugin-vue":"^9.25.0","vue-eslint-parser":"9.4.2","eslint-plugin-jsdoc":"^48.2.4","eslint-plugin-jsonc":"^2.15.1","jsonc-eslint-parser":"^2.4.0","@unocss/eslint-config":"^0.59.4","eslint-plugin-unicorn":"52.0.0","eslint-plugin-import-x":"0.5.0","eslint-plugin-markdown":"^5.0.0","eslint-plugin-prettier":"5.1.3","eslint-flat-config-utils":"^0.2.4","@typescript-eslint/parser":"7.8.0","eslint-plugin-react-hooks":"^4.6.2","@eslint-react/eslint-plugin":"^1.5.22","eslint-plugin-perfectionist":"^2.10.0","eslint-plugin-react-refresh":"^0.4.7","eslint-config-flat-gitignore":"^0.1.5","eslint-plugin-unused-imports":"^3.2.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/shared-config-eslint_1.0.5_1720145597915_0.3475011447554346","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@anyions/shared-config-eslint","version":"1.0.6","keywords":["eslint","eslint-config","eslint-config-typescript","eslint-config-unocss","eslint-config-vue","eslint-config-prettier","prettier"],"author":{"url":"https://github.com/anyions","name":"AnyIons","email":"anyions@hotmail.com"},"license":"MIT","_id":"@anyions/shared-config-eslint@1.0.6","maintainers":[{"name":"anyions","email":"anyions@hotmail.com"}],"homepage":"https://github.com/anyions/shared-config-eslint","bugs":{"url":"https://github.com/anyions/shared-config-eslint/issues"},"dist":{"shasum":"d94164ffd9f6a796e8aa86c94762760cd9552ed3","tarball":"https://registry.npmjs.org/@anyions/shared-config-eslint/-/shared-config-eslint-1.0.6.tgz","fileCount":7,"integrity":"sha512-rciYHyI0JQgeQHZbXAButo7LwMUHrPZ2Fm30kXZqsqC4H2FaDb/O6kSkU9xhbeS1j5maYeer8sGKAkPZoGIiLQ==","signatures":[{"sig":"MEYCIQDeVAX+qPSej4hfj3chS2KFtsbe7aHQeF6dbmc5/w4I9AIhAPHDz8lHWyxzPohR6Odxurw/hismCK02fEyivK3VdaeL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1096702},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"370ea996a3e6d89d8128bdaa505df43809cd5d79","scripts":{"bump":"bumpp && npm -r publish --access=public","lint":"pnpm eslint .","build":"pnpm typegen && tsup --format esm,cjs --clean --dts","clean":"pnpm rimraf node_modules dist","typegen":"esno scripts/typegen.ts","lint:fix":"eslint . --cache --max-warnings 0 --fix","typecheck":"tsc --noEmit --skipLibCheck"},"_npmUser":{"name":"anyions","email":"anyions@hotmail.com"},"repository":{"url":"git+https://github.com/anyions/shared-config-eslint.git"},"_npmVersion":"10.8.1","description":"AnyIons' shared eslint config presets with prettier","directories":{},"_nodeVersion":"22.4.0","dependencies":{"globals":"15.1.0","eslint-plugin-n":"17.4.0","@anyions/node-pkg":"*","eslint-plugin-vue":"^9.25.0","vue-eslint-parser":"9.4.2","eslint-plugin-jsdoc":"^48.2.4","eslint-plugin-jsonc":"^2.15.1","jsonc-eslint-parser":"^2.4.0","@unocss/eslint-config":"^0.59.4","eslint-plugin-unicorn":"52.0.0","eslint-plugin-import-x":"0.5.0","eslint-plugin-markdown":"^5.0.0","eslint-plugin-prettier":"5.1.3","eslint-flat-config-utils":"^0.2.4","@typescript-eslint/parser":"7.8.0","eslint-plugin-react-hooks":"^4.6.2","@eslint-react/eslint-plugin":"^1.5.22","eslint-plugin-perfectionist":"^2.10.0","eslint-plugin-react-refresh":"^0.4.7","eslint-config-flat-gitignore":"^0.1.5","eslint-plugin-unused-imports":"^3.2.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"7.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"esno":"^4.7.0","tsup":"8.0.2","bumpp":"^9.4.1","eslint":"9.2.0","rimraf":"^5.0.5","prettier":"^3.2.5","typescript":"5.4.5","@types/node":"20.12.10","@types/eslint":"8.56.10","eslint-typegen":"^0.2.4","@types/eslint-config-prettier":"6.11.3"},"peerDependencies":{"eslint":"9.2.0","globals":"15.1.0","prettier":"^3.2.5","eslint-plugin-n":"17.4.0","@anyions/node-pkg":"^1.0.2","eslint-plugin-vue":"^9.25.0","vue-eslint-parser":"9.4.2","eslint-plugin-jsdoc":"^48.2.4","eslint-plugin-jsonc":"^2.15.1","jsonc-eslint-parser":"^2.4.0","@unocss/eslint-config":"^0.59.4","eslint-plugin-unicorn":"52.0.0","eslint-plugin-import-x":"0.5.0","eslint-plugin-markdown":"^5.0.0","eslint-plugin-prettier":"5.1.3","eslint-flat-config-utils":"^0.2.4","@typescript-eslint/parser":"7.8.0","eslint-plugin-react-hooks":"^4.6.2","@eslint-react/eslint-plugin":"^1.5.22","eslint-plugin-perfectionist":"^2.10.0","eslint-plugin-react-refresh":"^0.4.7","eslint-config-flat-gitignore":"^0.1.5","eslint-plugin-unused-imports":"^3.2.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/shared-config-eslint_1.0.6_1730773172151_0.3185411262520692","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@anyions/shared-config-eslint","type":"module","version":"1.0.7","description":"AnyIons' shared eslint config presets with prettier","author":{"name":"AnyIons","email":"anyions@hotmail.com","url":"https://github.com/anyions"},"license":"MIT","homepage":"https://github.com/anyions/shared-config-eslint","repository":{"url":"git+https://github.com/anyions/shared-config-eslint.git"},"bugs":{"url":"https://github.com/anyions/shared-config-eslint/issues"},"keywords":["eslint","eslint-config","eslint-config-typescript","eslint-config-unocss","eslint-config-vue","eslint-config-prettier","prettier"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=14"},"scripts":{"build":"pnpm typegen && tsup --format esm,cjs --clean --dts","bump":"bumpp && npm -r publish --access=public","clean":"pnpm rimraf node_modules dist","typegen":"esno scripts/typegen.ts","lint":"pnpm eslint .","lint:fix":"eslint . --cache --max-warnings 0 --fix","typecheck":"tsc --noEmit --skipLibCheck"},"peerDependencies":{"@anyions/node-pkg":"^1.0.5","@eslint-react/eslint-plugin":"^1.15.2","@typescript-eslint/eslint-plugin":"^8.13.0","@typescript-eslint/parser":"^8.13.0","@unocss/eslint-config":"^0.63.6","eslint":"^9.2.0","eslint-config-flat-gitignore":"^0.3.0","eslint-flat-config-utils":"^0.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import-x":"^4.4.0","eslint-plugin-jsdoc":"^50.4.3","eslint-plugin-jsonc":"^2.16.0","eslint-plugin-markdown":"^5.1.0","eslint-plugin-n":"^17.12.0","eslint-plugin-perfectionist":"^3.9.1","eslint-plugin-prettier":"^5.2.1","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.14","eslint-plugin-unicorn":"^56.0.0","eslint-plugin-unused-imports":"^4.1.4","eslint-plugin-vue":"^9.30.0","globals":"^15.12.0","jsonc-eslint-parser":"^2.4.0","prettier":"^3.3.3","vue-eslint-parser":"^9.4.3"},"dependencies":{"@anyions/node-pkg":"*","@eslint-react/eslint-plugin":"^1.15.2","@typescript-eslint/eslint-plugin":"^8.13.0","@typescript-eslint/parser":"^8.13.0","@unocss/eslint-config":"^0.63.6","eslint-config-flat-gitignore":"^0.3.0","eslint-flat-config-utils":"^0.4.0","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import-x":"^4.4.0","eslint-plugin-jsdoc":"^50.4.3","eslint-plugin-jsonc":"^2.16.0","eslint-plugin-markdown":"^5.1.0","eslint-plugin-n":"^17.12.0","eslint-plugin-perfectionist":"^3.9.1","eslint-plugin-prettier":"^5.2.1","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.14","eslint-plugin-unicorn":"^56.0.0","eslint-plugin-unused-imports":"^4.1.4","eslint-plugin-vue":"^9.30.0","globals":"^15.12.0","jsonc-eslint-parser":"^2.4.0","vue-eslint-parser":"^9.4.3"},"devDependencies":{"@types/eslint":"^9.6.1","@types/eslint-config-prettier":"^6.11.3","@types/node":"^22.9.0","bumpp":"^9.8.1","eslint":"^9.14.0","eslint-typegen":"^0.3.2","esno":"^4.8.0","prettier":"^3.3.3","rimraf":"^6.0.1","tsup":"8.3.5","typescript":"^5.6.3"},"_id":"@anyions/shared-config-eslint@1.0.7","gitHead":"a79b295f7919a2ab180a4351a0573e943bba1039","_nodeVersion":"22.4.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-xrrp3umTZhHRF8lyoyRh88JcjLAmFGPftUztFe8yIEj61Kt5OFU2x2aDe1oxsuoxCe0dMeuKuP+iaZbG1F9fVA==","shasum":"f81fb43096584920ceb154313ea2fd62160642ff","tarball":"https://registry.npmjs.org/@anyions/shared-config-eslint/-/shared-config-eslint-1.0.7.tgz","fileCount":7,"unpackedSize":1098689,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIZgF+xUsvqlguTIQGpyzq/FKo4HWjCQqUebjRbgJygAiAPpeLp0fMGVEumYQSaP+wve2uwPTC2RVgTVGHkryCx4g=="}]},"_npmUser":{"name":"anyions","email":"anyions@hotmail.com"},"directories":{},"maintainers":[{"name":"anyions","email":"anyions@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shared-config-eslint_1.0.7_1730774816069_0.1008006832820878"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-13T05:59:40.793Z","modified":"2024-11-05T02:46:56.535Z","1.0.3":"2024-05-13T05:59:41.039Z","1.0.4":"2024-05-13T06:20:23.611Z","1.0.5":"2024-07-05T02:13:18.157Z","1.0.6":"2024-11-05T02:19:32.446Z","1.0.7":"2024-11-05T02:46:56.332Z"},"bugs":{"url":"https://github.com/anyions/shared-config-eslint/issues"},"author":{"name":"AnyIons","email":"anyions@hotmail.com","url":"https://github.com/anyions"},"license":"MIT","homepage":"https://github.com/anyions/shared-config-eslint","keywords":["eslint","eslint-config","eslint-config-typescript","eslint-config-unocss","eslint-config-vue","eslint-config-prettier","prettier"],"repository":{"url":"git+https://github.com/anyions/shared-config-eslint.git"},"description":"AnyIons' shared eslint config presets with prettier","maintainers":[{"name":"anyions","email":"anyions@hotmail.com"}],"readme":"# @anyions/shared-config-eslint\n\n[![NPM version](https://img.shields.io/npm/v/@anyions/shared-config-eslint?color=a1b858&label=)](https://www.npmjs.com/package/@anyions/shared-config-eslint) ![NPM License](https://img.shields.io/npm/l/@anyions/shared-config-eslint) ![Static Badge](https://img.shields.io/badge/author-AnyIons-blue)\n\n**AnyIons' shared ESLint flat config presets with prettier.**\n\n- Default ESLint flat config for JavaScript, TypeScript, Vue, React and UnoCSS.\n- Use ESlint and Prettier to format HTML, CSS, LESS, SCSS, JSON, JSONC, Markdown.\n\n## Install\n\n```bash\nnpm i @anyions/shared-config-eslint\n```\n\n## Usage\n\n### ESLint config file\n\n- With [`\"type\": \"module\"`](https://nodejs.org/api/packages.html#type) in `package.json`\n\n- Create config file `eslint.config.js`\n\n- Import config from `@anyions/shared-config-eslint`\n\n```js\nimport { defineConfig } from '@anyions/shared-config-eslint'\n\nexport default defineConfig(\n  {\n    // user options\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  },\n  {\n    rules: {\n      //...\n    }\n  }\n)\n```\n\n> [!NOTE]  \n> See [Options](#options) for more details.\n\n### ESLint settings in VSCode\n\n```json\n{\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": \"explicit\",\n    \"source.organizeImports\": \"never\"\n  },\n  \"eslint.experimental.useFlatConfig\": true,\n  \"editor.formatOnSave\": true,\n  \"eslint.format.enable\": true,\n  \"eslint.ignoreUntitled\": true,\n  \"eslint.validate\": [\n    // add the languages you want to lint\n    \"html\",\n    \"css\",\n    \"json\",\n    \"jsonc\",\n    \"json5\",\n    \"markdown\",\n    \"yaml\",\n    \"yml\"\n  ],\n  \"prettier.enable\": false\n}\n```\n\n### Scripts in package.json\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\"\n    \"lint:fix\": \"eslint . --cache --max-warnings 0 --fix\",\n  }\n}\n```\n\n## Options\n\n````ts\ninterface OptionsPrettier {\n  /**\n   * Default prettier rules\n   *\n   * @default\n   * ```json\n   * {\n   *   \"printWidth\": 120,\n   *   \"tabWidth\": 2,\n   *   \"useTabs\": false,\n   *   \"semi\": false,\n   *   \"vueIndentScriptAndStyle\": true,\n   *   \"singleQuote\": true,\n   *   \"quoteProps\": \"as-needed\",\n   *   \"bracketSpacing\": true,\n   *   \"trailingComma\": \"none\",\n   *   \"jsxSingleQuote\": true,\n   *   \"arrowParens\": \"always\",\n   *   \"proseWrap\": \"never\",\n   *   \"htmlWhitespaceSensitivity\": \"strict\",\n   *   \"endOfLine\": \"lf\",\n   *   \"rangeStart\": 0\n   * }\n   * ```\n   */\n  rules: PrettierRules\n  /**\n   * @default\n   * {\n   *  \"html\": true,\n   *  \"css\": true,\n   *  \"json\": true,\n   *  \"markdown\": true,\n   *  \"yaml\": false\n   * }\n   */\n  formatters: {\n    html?: boolean\n    css?: boolean\n    json?: boolean\n    markdown?: boolean\n    yaml?: false\n  }\n}\n\nexport interface OptionsComponentExts {\n  /**\n   * Additional extensions for components.\n   *\n   * @example ['vue', 'ts']\n   * @default []\n   */\n  componentExts?: string[]\n}\n\nexport interface OptionsOverrides {\n  files?: string[]\n  overrides?: FlatConfigItem['rules']\n}\n\nexport interface OptionsMarkdown extends OptionsOverrides, OptionsComponentExts {}\n\nexport interface OptionsTypeScript extends OptionsOverrides, OptionsComponentExts {\n  tsconfigPath?: string | string[]\n  parserOptions?: Partial<ParserOptions>\n  filesTypeAware?: string[]\n}\n\nexport interface OptionsUnoCSS extends OptionsOverrides {\n  /**\n   * Enable attributify support.\n   * @default true\n   */\n  attributify?: boolean\n  /**\n   * Enable strict mode by throwing errors about blocklisted classes.\n   * @default false\n   */\n  strict?: boolean\n}\n\nexport interface UserOptions {\n  /**\n   * The current working directory\n   *\n   * @default process.cwd()\n   */\n  cwd?: string\n  /**\n   * The globs to ignore lint\n   *\n   * @default []\n   */\n  ignores?: string[]\n  /**\n   * Enable flat git/eslint ignore support.\n   *\n   * Path to `.gitignore` files\n   * By defult, will use `'.gitignore'` and '.eslintignore' automation.\n   *\n   * @see https://github.com/antfu/eslint-config-flat-gitignore\n   *\n   * @default ['.gitignore', '.eslintignore']\n   */\n  flatignore?: string[]\n  /**\n   * Whether to use prettier to format files\n   * If true, will use default prettier options\n   * You can use `.prettierrc` to override the default prettier rules\n   *\n   * @see OptionsPrettier\n   * @default true\n   */\n  prettier?: boolean | OptionsPrettier\n  /**\n   * Javascript override rules.\n   */\n  javascript?: OptionsOverrides\n  /**\n   * Enable TypeScript support.\n   *\n   * @default auto-detect based on the dependencies\n   */\n  typescript?: boolean | OptionsTypeScript\n  /**\n   * Enable unocss rules.\n   *\n   * @default false\n   */\n  unocss?: boolean | OptionsUnoCSS\n  /**\n   * Enable Vue support.\n   *\n   * @default auto-detect based on the dependencies\n   */\n  vue?: boolean | OptionsOverrides\n  /**\n   * Enable React support.\n   *\n   * @default false\n   */\n  react?: boolean | OptionsOverrides\n  /**\n   * Enable linting for **code snippets** in Markdown.\n   *\n   * To format Markdown content, need enable `formatters.markdown`.\n   *\n   * @default true\n   */\n  markdown?: boolean | OptionsMarkdown\n  /**\n   * Enable JSONC support.\n   *\n   * @default true\n   */\n  jsonc?: boolean | OptionsOverrides\n}\n````\n\n## Plugins Renaming\n\nSince flat config requires explicitly provide the plugin names (instead of the mandatory convention from npm package name), we renamed some plugins to make the overall scope more consistent and easier to write.\n\n| New Prefix | Original Prefix | Source Plugin |\n| --- | --- | --- |\n| `import/*` | `import-x/*` | [eslint-plugin-import-x](https://github.com/un-es/eslint-plugin-import-x) |\n| `node/*` | `n/*` | [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) |\n| `yaml/*` | `yml/*` | [eslint-plugin-yml](https://github.com/ota-meshi/eslint-plugin-yml) |\n| `ts/*` | `@typescript-eslint/*` | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint) |\n| `style/*` | `@stylistic/*` | [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic) |\n| `test/*` | `vitest/*` | [eslint-plugin-vitest](https://github.com/veritem/eslint-plugin-vitest) |\n| `test/*` | `no-only-tests/*` | [eslint-plugin-no-only-tests](https://github.com/levibuzolic/eslint-plugin-no-only-tests) |\n\nWhen you want to override rules, or disable them inline, you need to update to the new prefix:\n\n```diff\n-// eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n+// eslint-disable-next-line ts/consistent-type-definitions\ntype foo = { bar: 2 }\n```\n\n## Config Composer\n\nThe function `defineConfig()` returns a [`FlatConfigComposer` object from `eslint-flat-config-utils`](https://github.com/antfu/eslint-flat-config-utils#composer) where you can chain the methods to compose the config even more flexibly.\n\n```js\n// eslint.config.js\nimport defineConfig from '@anyions/shared-config-eslint'\n\nexport default defineConfig()\n  .prepend(\n    // some configs before the main config\n  )\n  // overrides any named configs\n  .override(\n    'antfu/imports',\n    {\n      rules: {\n        'import/order': ['error', { 'newlines-between': 'always' }],\n      }\n    }\n  )\n  // rename plugin prefixes\n  .renamePlugins({\n    'old-prefix': 'new-prefix',\n    // ...\n  })\n// ...\n```\n\n## Thanks\n\n**Inspired by the following projects:**\n\n- [Antfu's eslint-config](https://github.com/antfu/eslint-config)\n- [SoybeanJS's eslint-config](https://github.com/soybeanjs/eslint-config)\n\n## License\n\n[MIT](./LICENSE) License © 2020 [AnyIons](https://github.com/anyions)\n","readmeFilename":"README.md"}