{"_id":"@egomobile/eslint-config-ego","_rev":"2-c8e7789121c0ad54f903f30e141fcb86","name":"@egomobile/eslint-config-ego","dist-tags":{"latest":"0.18.0"},"versions":{"0.18.0":{"name":"@egomobile/eslint-config-ego","version":"0.18.0","description":"ESLint shareable config for the e.GO style.","license":"MIT","repository":{"type":"git","url":"https://www.npmjs.com/package/@egomobile/eslint-config-ego"},"author":{"name":"Next.e.GO Mobile SE, Aachen, Germany"},"engines":{"node":">=18 < 20","npm":">=9 < 10"},"keywords":["ego","e.go","mobile","node","vue","react native","code","quality","style","lint","linter","jscs","jshint","jslint","eslint","validate","code style","strict","check","checker","verify","enforce","hint","javascript","typescript"],"dependencies":{"@typescript-eslint/eslint-plugin":"6.2.0","@typescript-eslint/eslint-plugin-tslint":"6.2.0","@typescript-eslint/parser":"6.2.0","eslint":"8.44.0","eslint-plugin-import":"2.27.5","eslint-plugin-jsdoc":"46.4.5","eslint-plugin-no-null":"1.0.2","eslint-plugin-unicorn":"48.0.1","typescript":"4.9.5"},"peerDependencies":{"tslint":">=6.1.3","eslint":">=8.44.0"},"gitHead":"55fee5daffc02043569441b663506b9bd3020264","_id":"@egomobile/eslint-config-ego@0.18.0","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-+PuizDLf80rgVLApZPaSh8OGPxYj4Z4XfZ9422l2bjaCzvqi3V1fpiTL5Fs6am+lIdGWM1gI3gC+2BsNz8LX4g==","shasum":"ae4b25eaad97f07cafeaaa9b3bb039c03d6e682a","tarball":"https://registry.npmjs.org/@egomobile/eslint-config-ego/-/eslint-config-ego-0.18.0.tgz","fileCount":5,"unpackedSize":10712,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhINbwK2vmi3E6AKWTsxMKRkNnCH5X1x5OyiynGR0v4AiEAme1pAICuDSVORmYbBN5P1v6Y6n49WMl/oPhHF7M3Yz0="}]},"_npmUser":{"name":"egodux","email":"dux-developer@e-go-mobile.com"},"directories":{},"maintainers":[{"name":"egodux","email":"dux-developer@e-go-mobile.com"},{"name":"mkloubertego","email":"marcel.kloubert@e-go-mobile.com"},{"name":"mkloubert","email":"marcel.kloubert@gmx.net"},{"name":"ekegodigital","email":"eric.kesseler@e-go-digital.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-ego_0.18.0_1690460967618_0.29204617704772295"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-27T12:29:27.543Z","0.18.0":"2023-07-27T12:29:27.756Z","modified":"2024-05-22T18:03:53.575Z"},"maintainers":[{"email":"eric.kesseler@e-go-mobile.com","name":"ekmobile"},{"email":"dux-developer@e-go-mobile.com","name":"egodux"},{"email":"marcel.kloubert@gmx.net","name":"mkloubert"},{"email":"eric.kesseler@e-go-digital.com","name":"ekegodigital"}],"description":"ESLint shareable config for the e.GO style.","keywords":["ego","e.go","mobile","node","vue","react native","code","quality","style","lint","linter","jscs","jshint","jslint","eslint","validate","code style","strict","check","checker","verify","enforce","hint","javascript","typescript"],"repository":{"type":"git","url":"https://www.npmjs.com/package/@egomobile/eslint-config-ego"},"author":{"name":"Next.e.GO Mobile SE, Aachen, Germany"},"license":"MIT","readme":"# eslint-config-ego\n\n[![npm](https://img.shields.io/npm/v/@egomobile/eslint-config-ego.svg)](https://www.npmjs.com/package/@egomobile/eslint-config-ego)\n\n> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for the e.GO style guide\n\n## Installation\n\n```\n$ npm install --save-dev eslint @egomobile/eslint-config-ego\n```\n\n## Usage\n\nOnce the `eslint-config-ego` package is installed, you can use it by specifying `ego` in the [`extends`](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) section of your [ESLint configuration](http://eslint.org/docs/user-guide/configuring).\n\nCreate a `.eslintrc.js` file in the root folder of your project and use the following skeleton:\n\n```js\nmodule.exports = {\n    \"extends\": \"ego\",\n    \"rules\": {\n      // Additional, per-project rules...\n    }\n}\n```\n\nAs optional feature, you can add script entry, called `lint` e.g., to your `package.json`:\n\n```json\n{\n    \"scripts\": {\n        \"lint\": \"eslint -c .eslintrc.js --ext .ts <mySrcFolder>\"\n    }\n}\n```\n\n### Visual Studio Code\n\nFirst install [ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) for [Visual Studio Code](https://code.visualstudio.com/) by [Dirk Baeumer](https://marketplace.visualstudio.com/publishers/dbaeumer).\n\nThen setup your `settings.json` inside your `.vscode` subfolder by adding the following entries:\n\n```json\n{\n    \"editor.formatOnSave\": true,\n    \"editor.tabSize\": 4,\n    \"eslint.quiet\": false,\n    \"eslint.enable\": true,\n    \"editor.codeActionsOnSave\": {\n        \"source.fixAll.eslint\": true\n    }\n}\n```\n\nTo keep sure, to have the extension installed, create a `extensions.json` file inside the same folder, if needed, and add the following entry as recommendation:\n\n```json\n{\n    \"recommendations\": [\n        \"dbaeumer.vscode-eslint\"\n    ]\n}\n```\n\n## License\n\nMIT © [e.GO Mobile](https://e-go-mobile.com/), Aachen, Germany\n","readmeFilename":"README.md"}