{"_id":"@applaud/cli-plugin-eslint","name":"@applaud/cli-plugin-eslint","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@applaud/cli-plugin-eslint","version":"1.0.0","description":"eslint plugin for vue-cli","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Applaud-devpack/cli-plugin-eslint.git"},"keywords":["vue","cli","eslint","applaud"],"author":{"name":"Applaud"},"license":"MIT","bugs":{"url":"https://github.com/Applaud-devpack/cli-plugin-eslint/issues"},"homepage":"https://github.com/Applaud-devpack/cli-plugin-eslint/tree/dev/packages/@vue/cli-plugin-eslint#readme","publishConfig":{"access":"public"},"dependencies":{"@vue/cli-shared-utils":"^3.4.1","babel-eslint":"^10.0.1","eslint-loader":"npm:@applaud/eslint-loader@^1.0.0","globby":"^9.0.0","webpack":"npm:@applaud/webpack-old@^1.0.0","eslint":"^4.19.1","eslint-plugin-vue":"^4.7.1"},"optionalDependencies":{"eslint":"^4.19.1","eslint-plugin-vue":"^4.7.1"},"gitHead":"31f7d0a10108cce03a430566d2cde4e99b531116","_id":"@applaud/cli-plugin-eslint@1.0.0","_nodeVersion":"10.23.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-kxmMvmlDcYnQ16oDhGOoLxgtL/nwf4WuINHqcSWOTM+ZmeZiiU1regmrjWYCRS4fQXMhjePUy7BiV+KxLpQQ/Q==","shasum":"a92898cb45475ad59e8df6a7e67ed9d54b3accc8","tarball":"https://registry.npmjs.org/@applaud/cli-plugin-eslint/-/cli-plugin-eslint-1.0.0.tgz","fileCount":13,"unpackedSize":23372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDSm5X6tHPYXC5XGu+ziVWK1+3htaNp1pBI4+bNAxlxaAiAo/Dizuv8J+xckqLKoH/1q63sXBpFuTyD+t/MJMdY8jQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje1T3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcDw/+NTDkKnfXtDHAdANUzUehLDwQJA+IO8cQ+5zR15hVmIJbPK5b\r\nEBKpqtgkS+Yzn+ntbQG93vEcczbcLGNG+EgZXX87zJwJyvjiVXuFLatbxt4u\r\nMRbN/YQ8Up+u1g03buJeY4drXIcEe/olneXEhHy/hUBdRkiYBQrjSy5vj1CS\r\nVIyGYQWEWXmUmDpCFEWWd6SIclhILpNNMZNyVWKhE1wHHPD/FTenRJGf+Ken\r\nt+sruzKVsB5LAORJdg1s2fqMOYggLpkwaM6MnjFivqqU/8S0p/A7LBy2V+5x\r\nW5Zb2OxwoEtQ3Ifqkbq26lWUcO7/r8gKnJQhNPhD61NuVuMBLy6/1kJ+gvck\r\nlnHrdQ2YVp/apdXIB0SlZ/yrDUFiOn+5vdMb7YQ5EhN0lVVEmW7e1AOrdLhe\r\nN7LXyopjBogt83su0aYhalAXSSYQOuyWSjKmcKD9ktso+rPDCLm7M2mP0Q+M\r\n8J3okuxBDkX3rCkxWWigGjWKevdRotGVX1X+1jJ96ALGdJJuv/kLCGxA5uzd\r\nzF0H6mGqbXI3awNb8QuY+VmMP62c53Z5vzmWaaduM8yfzpjtGplxOtUwj+H1\r\nje4hm9CVWiLUYo1hT7COD1Tq7njTONZISo8uE6TdPeR4YxW/wB40E9sHPTbf\r\nfwlL/oYMiJmeZl016DLNTIsWCPUi0ljBDWI=\r\n=vNNS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mahesh_reddy","email":"applaud.devpack@gmail.com"},"directories":{},"maintainers":[{"name":"mahesh_reddy","email":"applaud.devpack@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-plugin-eslint_1.0.0_1669027063670_0.4194691831563495"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-21T10:37:43.624Z","1.0.0":"2022-11-21T10:37:43.852Z","modified":"2022-11-21T10:37:44.038Z"},"maintainers":[{"name":"mahesh_reddy","email":"applaud.devpack@gmail.com"}],"description":"eslint plugin for vue-cli","homepage":"https://github.com/Applaud-devpack/cli-plugin-eslint/tree/dev/packages/@vue/cli-plugin-eslint#readme","keywords":["vue","cli","eslint","applaud"],"repository":{"type":"git","url":"git+https://github.com/Applaud-devpack/cli-plugin-eslint.git"},"author":{"name":"Applaud"},"bugs":{"url":"https://github.com/Applaud-devpack/cli-plugin-eslint/issues"},"license":"MIT","readme":"# @applaud/cli-plugin-eslint\n\n> eslint plugin for vue-cli\n\n## Injected Commands\n\n- **`vue-cli-service lint`**\n\n  ```\n  Usage: vue-cli-service lint [options] [...files]\n\n  Options:\n\n    --format [formatter] specify formatter (default: codeframe)\n    --no-fix             do not fix errors\n    --max-errors         specify number of errors to make build failed (default: 0)\n    --max-warnings       specify number of warnings to make build failed (default: Infinity)\n  ```\n\n  Lints and fixes files. If no specific files are given, it lints all files in `src` and `test`.\n\n  Other [ESLint CLI options](https://eslint.org/docs/user-guide/command-line-interface#options) are also supported.\n\n## Configuration\n\nESLint can be configured via `.eslintrc` or the `eslintConfig` field in `package.json`.\n\nLint-on-save during development with `eslint-loader` is enabled by default. It can be disabled with the `lintOnSave` option in `vue.config.js`:\n\n``` js\nmodule.exports = {\n  lintOnSave: false\n}\n```\n\nWhen set to `true`, `eslint-loader` will emit lint errors as warnings. By default, warnings are only logged to the terminal and does not fail the compilation.\n\nTo make lint errors show up in the browser overlay, you can use `lintOnSave: 'error'`. This will force `eslint-loader` to always emit errors. this also means lint errors will now cause the compilation to fail.\n\nAlternatively, you can configure the overlay to display both warnings and errors:\n\n``` js\n// vue.config.js\nmodule.exports = {\n  devServer: {\n    overlay: {\n      warnings: true,\n      errors: true\n    }\n  }\n}\n```\n\nWhen `lintOnSave` is a truthy value, `eslint-loader` will be applied in both development and production. If you want to disable `eslint-loader` during production build, you can use the following config:\n\n``` js\n// vue.config.js\nmodule.exports = {\n  lintOnSave: process.env.NODE_ENV !== 'production'\n}\n```\n\n## Installing in an Already Created Project\n\n``` sh\nvue add @vue/eslint\n```\n\n## Injected webpack-chain Rules\n\n- `config.module.rule('eslint')`\n- `config.module.rule('eslint').use('eslint-loader')`\n","readmeFilename":"README.md"}