{"bugs":{"url":"https://github.com/Shinigami92/eslint-define-config/issues"},"dist":{"shasum":"a6c2977f826ba44c26ffff641890b39fb0afb620","tarball":"https://registry.npmjs.org/eslint-define-config/-/eslint-define-config-1.15.0-alpha.0.tgz","fileCount":1187,"integrity":"sha512-1OWKMLvRDQImBkwyw2A8yYqLQsTzvW7KDCMVhZucZsxZ2uL8T2Ycxv8QWLqsSppNLIWIMVF5fhtXKALkFQ2hwA==","signatures":[{"sig":"MEYCIQCfWvOJuPBsQtngCaJ86joqZFe7+mKn146n94X8aH07CgIhALq5I08Pjwh0jQgWB/LbBrx0CjDv4vd7Xkt6gkP3MVQI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1336806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2mQ2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr54Q//QBHvPSUa7DMi1E1Sn6N0UpBPeCYb9fzWT9GqndN+rRtlflnJ\r\ng61wGpoUmarWsb3l4McnKglWLl7DtB2mQt/lRD54Cr1pVphsmI5EKoC3guyu\r\n7a/ywaDwN80SEIa7kz+SmkWnG70qB6jaPcu6y9oWhGWs46zirK++99eeBhQO\r\n1Y647/sGY0nPrn1mUqn3o9C8d3wjQcEeAGRLkTxMdRAhJRUdPi3WHVKul7Nm\r\n8Ys0nwa4rGjbc1AaUNeH78I51XtE2p9+1DKvLzXZraVkyC8z3//gpdnFvdPG\r\nTnuCwzZgyhFOMWxSRjoDKrxw1o4A2HWtd/+9wIk6GRugjwOjKihc8iPGTrho\r\nyJMltgBwA3fYxPZJyCFbzsjHRgr21Le8Cu76GCFnjOhosNB35SIN6dDz6KTL\r\n5W5j4mxtc5Npc3IOY047oGMfx7vbTXVw6vNxx2qE0+19/5FaXnJQSmUNb23O\r\nT2B4hYR4G3Ilus6NUep1t9VarfcVMd2bJI26KlBLCQZVwXxyKS8hANKEXI6m\r\nf7KxjIvC4AilM61EgsK/cBMCAdeHnLG6wfmOmSe/1EDbrYnBJVMGEGcQa6TM\r\niL8FhZ4rD1yem9PEF23WgTrq9VcUaPvN3hbwwtBWTWh20MFqsqADQa9Aym5f\r\nGl5gfS1blB9psdQItqjO50lhudjoBPNSBCw=\r\n=DPeg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","name":"eslint-define-config","pnpm":{"peerDependencyRules":{"ignoreMissing":["@babel/core","cosmiconfig-toml-loader","cosmiconfig-typescript-loader"]}},"types":"./src/index.d.ts","author":{"url":"https://github.com/Shinigami92","name":"Christopher Quadflieg","email":"chrissi92@hotmail.de"},"module":"src/index.mjs","readme":"<p>\n  <a href=\"https://www.npmjs.com/package/eslint-define-config\" target=\"_blank\">\n    <img alt=\"NPM package\" src=\"https://img.shields.io/npm/v/eslint-define-config.svg\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/eslint-define-config\" target=\"_blank\">\n    <img alt=\"Downloads\" src=\"https://img.shields.io/npm/dt/eslint-define-config.svg\">\n  </a>\n  <a href=\"https://github.com/Shinigami92/eslint-define-config/actions/workflows/ci.yml\">\n    <img alt=\"Build Status\" src=\"https://github.com/Shinigami92/eslint-define-config/actions/workflows/ci.yml/badge.svg?branch=main\">\n  </a>\n  <a href=\"https://github.com/Shinigami92/eslint-define-config/blob/main/LICENSE\">\n    <img alt=\"License: MIT\" src=\"https://img.shields.io/github/license/Shinigami92/eslint-define-config.svg\">\n  </a>\n  <a href=\"https://prettier.io\" target=\"_blank\">\n    <img alt=\"Code Style: Prettier\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg\">\n  </a>\n  <a href=\"https://www.paypal.com/donate?hosted_button_id=L7GY729FBKTZY\" target=\"_blank\">\n    <img alt=\"Donate: PayPal\" src=\"https://img.shields.io/badge/Donate-PayPal-blue.svg\">\n  </a>\n</p>\n\n# eslint-define-config\n\nProvide a `defineConfig` function for `.eslintrc.js` files.\n\n> This project is written by a human and only partially automatically generated!  \n> Some rules are even enhanced by hand!  \n> Unfortunately, this has the disadvantage that not everything is immediately defined. For example, if a rule is not defined, it falls back to a basic definition.  \n> However, the advantage is that you get documentation for pretty much everything in the code and usually get a direct link to the respective plugin or eslint rule. The types are also strictly typed.\n>\n> So if you are missing something like a rule or a plugin that should also be supported or a rule definition is e.g. out of date, feel free to open an issue or PR for it.\n\n# Installation\n\n```bash\n# add eslint and eslint-define-config to project’s dev dependencies\nnpm add --save-dev eslint eslint-define-config\n# or\nyarn add --dev eslint eslint-define-config\n# or\npnpm add --save-dev eslint eslint-define-config\n```\n\n# Usage\n\n`.eslintrc.js`\n\n```ts\n// @ts-check\nconst { defineConfig } = require('eslint-define-config');\n\nmodule.exports = defineConfig({\n  root: true,\n  rules: {\n    // rules...\n  },\n});\n```\n\n## Flat Config\n\n```ts\n// @ts-check\nconst { defineFlatConfig } = require('eslint-define-config');\n\nmodule.exports = defineFlatConfig([\n  'eslint:recommended',\n  {\n    plugins: {\n      // plugins...\n    },\n    rules: {\n      // rules...\n    },\n  },\n]);\n```\n\n# Why?\n\nImprove your eslint configuration experience with:\n\n- auto-suggestions\n- type checking (Use `// @ts-check` at the first line in your `.eslintrc.js`)\n- documentation\n- deprecation warnings\n\n<img src=\"https://user-images.githubusercontent.com/7195563/112484789-8a416480-8d7a-11eb-9337-d8b5bc16de17.png\" alt=\"Image\" width=\"600px\"/>\n\n## Video\n\n_Click on the thumbnail to play the video_\n\n<a href=\"https://user-images.githubusercontent.com/7195563/112726158-4a19e780-8f1c-11eb-8cc6-4ea6c100137f.mp4\" target=\"_blank\">\n  <img src=\"https://user-images.githubusercontent.com/7195563/112726343-30c56b00-8f1d-11eb-9b92-260c530caf1b.png\" alt=\"Video\" width=\"600px\"/>\n</a>\n\n# Credits\n\n- [Proposal Idea](https://github.com/eslint/eslint/issues/14249)\n- [Vite](https://github.com/vitejs/vite) and [Evan You](https://github.com/yyx990803) for the idea\n- [@antfu](https://github.com/antfu) and his [tweet](https://twitter.com/antfu7/status/1365907188338753536)\n","engines":{"npm":">=6.14.13","node":"^14.17.0 || ^16.13.0 || >=18.0.0","pnpm":">= 7.0.0"},"funding":[{"url":"https://github.com/Shinigami92","type":"github"},{"url":"https://www.paypal.com/donate/?hosted_button_id=L7GY729FBKTZY","type":"paypal"}],"gitHead":"b4f30e8f71c2177f3bc497117a19d09192abb1f4","license":"MIT","scripts":{"lint":"eslint .","test":"vitest","check":"tsc","clean":"rm -Rf dist pnpm-lock.yaml node_modules","format":"prettier --write .","coverage":"vitest run --coverage","typecheck":"vitest typecheck","generate:rules":"tsx ./scripts/generate-rule-files/cli.ts","prepublishOnly":"pnpm run clean && pnpm install && pnpm run check"},"_npmUser":{"name":"shinigami92","email":"chrissi92@hotmail.de"},"homepage":"https://github.com/Shinigami92/eslint-define-config#readme","keywords":["config","configuration","define-config","eslint-config","eslint","eslintconfig","typed","typescript"],"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/Shinigami92/eslint-define-config.git","type":"git"},"_npmVersion":"8.12.1","description":"Provide a defineConfig function for .eslintrc.js files","directories":{},"maintainers":[{"name":"shinigami92","email":"chrissi92@hotmail.de"}],"_nodeVersion":"18.4.0","_hasShrinkwrap":false,"packageManager":"pnpm@7.26.3","readmeFilename":"README.md","devDependencies":{"tsx":"~3.12.2","eslint":"~8.33.0","vitest":"~0.28.3","graphql":"~16.6.0","prettier":"2.8.3","ts-dedent":"~2.2.0","typescript":"~4.9.5","@types/node":"~18.11.18","change-case":"~4.1.2","expect-type":"~0.15.0","json-schema":"~0.4.0","@types/eslint":"~8.4.10","@poppinss/cliui":"~3.0.5","@types/prettier":"~2.7.2","eslint-plugin-n":"~15.6.1","eslint-gitignore":"~0.1.0","upper-case-first":"~2.0.2","eslint-plugin-mdx":"~2.0.5","eslint-plugin-vue":"~9.9.0","json-schema-to-ts":"~2.6.2","vue-eslint-parser":"~9.1.0","@types/json-schema":"~7.0.11","eslint-plugin-node":"~11.1.0","eslint-plugin-jsdoc":"~39.7.5","eslint-plugin-jsonc":"~2.6.0","eslint-plugin-import":"~2.27.5","eslint-plugin-promise":"~6.1.1","eslint-plugin-sonarjs":"~0.18.0","eslint-plugin-unicorn":"~45.0.2","eslint-plugin-vue-pug":"~0.5.5","eslint-config-prettier":"~8.6.0","eslint-plugin-prettier":"~4.2.1","eslint-plugin-spellcheck":"~0.0.20","@typescript-eslint/parser":"~5.50.0","eslint-plugin-deprecation":"~1.3.3","json-schema-to-typescript":"~11.0.3","@graphql-eslint/eslint-plugin":"~3.15.0","eslint-plugin-eslint-comments":"~3.2.0","@intlify/eslint-plugin-vue-i18n":"~2.0.0","@typescript-eslint/eslint-plugin":"~5.50.0","eslint-plugin-inclusive-language":"~2.2.0","prettier-plugin-organize-imports":"~3.2.2"},"_npmOperationalInternal":{"tmp":"tmp/eslint-define-config_1.15.0-alpha.0_1675256886582_0.06909328338103893","host":"s3://npm-registry-packages"},"_id":"eslint-define-config@1.15.0-alpha.0","version":"1.15.0-alpha.0"}