{"_id":"@cospired/eslint-config-typescript-base","name":"@cospired/eslint-config-typescript-base","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@cospired/eslint-config-typescript-base","version":"0.1.0","description":"Slightly opinionated eslint config for typescript based on airbnb's config","main":"index.js","scripts":{"lint":"eslint --report-unused-disable-directives . || true","prepublishOnly":"true || eslint-find-rules --unused && npm test && safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run --silent lint","pretests-only":"node ./test/requires","test":"npm run --silent tests-only","tests-only":"babel-tape-runner ./test/*.test.js","pretravis":":","travis":"npm run --silent test","posttravis":":"},"repository":{"type":"git","url":"git+https://github.com/cospired/javascript.git"},"contributors":[{"name":"Dirk Haage","email":"dirk@cospired.com","url":"https://cospired.com/"}],"author":{"name":"Dirk Haage","email":"dirk@cospired.com"},"keywords":["eslint","eslintconfig","config","cospired","javascript","styleguide","typescript","es2015","es2016","es2017","es2018"],"license":"BSD-3-Clause-Clear","dependencies":{"@cospired/eslint-config-base":"^7.0.2","eslint-config-airbnb-typescript":"^18.0.0","object.assign":"^4.1.0"},"peerDependencies":{"@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","eslint":"^7.32.0 || ^8.2.0","eslint-plugin-import":"^2.25.3"},"devDependencies":{"@babel/runtime":"^7.17.2","@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","babel-preset-airbnb":"^5.0.0","babel-tape-runner":"^3.0.0","eslint":"^8.11.0","eslint-find-rules":"^4.1.0","eslint-plugin-import":"^2.25.4","in-publish":"^2.0.1","safe-publish-latest":"^2.0.0","tape":"^5.5.2"},"_id":"@cospired/eslint-config-typescript-base@0.1.0","gitHead":"7b51bfefba8549121cda0d435cf7710f39c779e7","bugs":{"url":"https://github.com/cospired/javascript/issues"},"homepage":"https://github.com/cospired/javascript#readme","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-iGZjvVYLEN3zhrdliQ4ugEd3LLXHQVEy/djFKXO7vudgaoSvyq7abBiohYWGZDZYLnVpEnjJ1JgjRWjbik555g==","shasum":"eb248ab1f904c695fa7b0f443bc66f2c76a00a27","tarball":"https://registry.npmjs.org/@cospired/eslint-config-typescript-base/-/eslint-config-typescript-base-0.1.0.tgz","fileCount":10,"unpackedSize":13747,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICF1S8m/Vgs/1hyVnRpX/YWW0P8fL6O4Tsep5PKiQG0cAiAZT4vDXx4pVKju2H95RM5HLtLu+hNXoD7TSc4hfuMOMA=="}]},"_npmUser":{"name":"e110c0","email":"dirk+npm@cospired.com"},"directories":{},"maintainers":[{"name":"e110c0","email":"dirk+npm@cospired.com"},{"name":"bitcloud","email":"jan@jschmidle.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-typescript-base_0.1.0_1718783997281_0.31782521699007305"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-19T07:59:57.178Z","0.1.0":"2024-06-19T07:59:57.430Z","modified":"2024-06-19T07:59:58.061Z"},"maintainers":[{"name":"e110c0","email":"dirk+npm@cospired.com"},{"name":"bitcloud","email":"jan@jschmidle.org"}],"description":"Slightly opinionated eslint config for typescript based on airbnb's config","homepage":"https://github.com/cospired/javascript#readme","keywords":["eslint","eslintconfig","config","cospired","javascript","styleguide","typescript","es2015","es2016","es2017","es2018"],"repository":{"type":"git","url":"git+https://github.com/cospired/javascript.git"},"contributors":[{"name":"Dirk Haage","email":"dirk@cospired.com","url":"https://cospired.com/"}],"author":{"name":"Dirk Haage","email":"dirk@cospired.com"},"bugs":{"url":"https://github.com/cospired/javascript/issues"},"license":"BSD-3-Clause-Clear","readme":"[![Build Status](https://travis-ci.com/cospired/javascript.svg?branch=master)](https://travis-ci.com/cospired/javascript)\n\n# @cospired/eslint-config-typescript-base\n\nThis package provides cospired's base typescript .eslintrc (without React plugins) as an extensible shared config.\n\n## Usage\n\nWe export one ESLint configurations for your usage.\n\n### @cospired/eslint-config-typescript-base\n\nOur default export contains all of our ESLint rules, including ECMAScript 6+. It requires `eslint`, `eslint-plugin-eslint-comment`, `eslint-plugin-import` and `@hapi/eslint-plugin-hapi`.\n\nIf you use yarn, run `npm info \"@cospired/eslint-config-typescript-base@latest\" peerDependencies` to list the peer dependencies and versions, then run `yarn add --dev <dependency>@<version>` for each listed peer dependency. See below for npm instructions.\n\n1. Install the correct versions of each package, which are listed by the command:\n\n  ```sh\n  npm info \"@cospired/eslint-config-typescript-base@latest\" peerDependencies\n  ```\n\n  If using **npm 5+**, use this shortcut\n\n  ```sh\n  npx install-peerdeps --dev @cospired/eslint-config-typescript-base\n  ```\n\n  If using **npm < 5**, Linux/OSX users can run\n\n  ```sh\n  (\n    export PKG=@cospired/eslint-config-typescript-base;\n    npm info \"$PKG@latest\" peerDependencies --json | command sed 's/[\\{\\},]//g ; s/: /@/g' | xargs npm install --save-dev \"$PKG@latest\"\n  )\n  ```\n\n  Which produces and runs a command like:\n\n  ```sh\n    npm install --save-dev @cospired/eslint-config-typescript-base eslint@^#.#.# eslint-plugin-import@^#.#.#\n  ```\n\n  If using **npm < 5**, Windows users can either install all the peer dependencies manually, or use the [install-peerdeps](https://github.com/nathanhleung/install-peerdeps) cli tool.\n\n  ```sh\n  npm install -g install-peerdeps\n  install-peerdeps --dev @cospired/eslint-config-typescript-base\n  ```\n\n  The cli will produce and run a command like:\n\n  ```sh\n  npm install --save-dev @cospired/eslint-config-typescript-base eslint@^#.#.# eslint-plugin-import@^#.#.#\n  ```\n\n2. Add `\"extends\": \"@cospired/eslint-config-typescript-base\"` to your .eslintrc.\n\n## Improving this config\n\nConsider adding test cases if you're making complicated rules changes, like anything involving regexes. Perhaps in a distant future, we could use literate programming to structure our README as test cases for our .eslintrc?\n\nYou can run tests with `npm test`.\n\nYou can make sure this module lints with itself using `npm run lint`.\n\n# Acknowledgment\n\nThis package is based on the [airbnb](https://github.com/airbnb/javascript) javascript styleguide and eslint packages and [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript) typescript extension.\n","readmeFilename":"README.md"}