{"_id":"@detroit-labs/tslint-config","_rev":"5-e5b543ff91ffd9d55ba646744312eae2","name":"@detroit-labs/tslint-config","description":"Shared TSLint configuration used in Detroit Labs' TypeScript projects","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@detroit-labs/tslint-config","version":"1.0.0","description":"Shared TSLint configuration used in Detroit Labs' TypeScript projects","main":"tslint-config.json","scripts":{"commit":"git-cz","commitmsg":"validate-commit-msg","test":"echo \"No tests yet\"","semantic-release":"semantic-release pre && npm publish --access=public && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/detroit-labs/tslint-config.git"},"keywords":["tslint","detroit-labs"],"author":{"name":"Macklin Underdown","email":"macklinu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/detroit-labs/tslint-config/issues"},"homepage":"https://github.com/detroit-labs/tslint-config#readme","devDependencies":{"commitizen":"^2.9.6","cz-conventional-changelog":"^2.0.0","husky":"^0.13.3","semantic-release":"^6.3.6","validate-commit-msg":"^2.12.1"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"9cd0f66693aed19a6fc2517526149d02be920b63","_id":"@detroit-labs/tslint-config@1.0.0","_shasum":"fcc23a38fecaa179e0f2fff93f7ed1ee19c7822c","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"macklinu","email":"macklinu@gmail.com"},"dist":{"shasum":"fcc23a38fecaa179e0f2fff93f7ed1ee19c7822c","tarball":"https://registry.npmjs.org/@detroit-labs/tslint-config/-/tslint-config-1.0.0.tgz","integrity":"sha512-xlqLO3TGYKtfNexkn42kgOt6sWUazuAC3IZqH6UBFW4igPVO7NzW8QxUBWZmjQ0/Uz10TMDf5HwOvtaOFqTeDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8KfpNNdsRWEe8hVtJuTbScAgOlOBNhxeMfk3wYlaDcAiEAt1GFzXoC5WjSiul4jiVObQ0S8jU6WObxS9hZW0E5bJA="}]},"maintainers":[{"name":"macklinu","email":"macklinu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tslint-config-1.0.0.tgz_1494352644964_0.5206195639912039"},"directories":{}},"2.0.0":{"name":"@detroit-labs/tslint-config","version":"2.0.0","description":"Shared TSLint configuration used in Detroit Labs' TypeScript projects","main":"tslint-base.json","scripts":{"commit":"git-cz","commitmsg":"validate-commit-msg","test":"echo \"No tests yet\"","semantic-release":"semantic-release pre && npm publish --access=public && semantic-release post"},"repository":{"type":"git","url":"git+https://github.com/detroit-labs/tslint-config.git"},"keywords":["tslint","detroit-labs"],"author":{"name":"Macklin Underdown","email":"macklinu@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/detroit-labs/tslint-config/issues"},"homepage":"https://github.com/detroit-labs/tslint-config#readme","devDependencies":{"commitizen":"^2.9.6","cz-conventional-changelog":"^2.0.0","husky":"^0.13.3","semantic-release":"^6.3.6","validate-commit-msg":"^2.12.1"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"ebac53c2405f2af4f5f723193a6a7253a4a9a9fd","_id":"@detroit-labs/tslint-config@2.0.0","_shasum":"e8cde866528781b646f390dda04ceeb00d05a0e2","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"macklinu","email":"macklinu@gmail.com"},"dist":{"shasum":"e8cde866528781b646f390dda04ceeb00d05a0e2","tarball":"https://registry.npmjs.org/@detroit-labs/tslint-config/-/tslint-config-2.0.0.tgz","integrity":"sha512-iCGASIhMcmXYTS9WC8H0h049VbnvY5l7+OwOrzwvldDmjvU00CsWLgx6mdvG13mAOAktQSFHvCnDeT04837Ajg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc+qUj3sYI/aWmdSq9kQRt8Mx3XAQ1yHvNU+pjkn5xZQIgHfn6GMou1KapzxFMhPjYiIZkLtTKveC32sufRPj0gyk="}]},"maintainers":[{"name":"macklinu","email":"macklinu@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tslint-config-2.0.0.tgz_1494429776827_0.8923427562694997"},"directories":{}}},"readme":"# @detroit-labs/tslint-config\n\n[![npm version](https://badge.fury.io/js/%40detroit-labs%2Ftslint-config.svg)](https://badge.fury.io/js/%40detroit-labs%2Ftslint-config)\n[![Build Status](https://travis-ci.org/detroit-labs/tslint-config.svg?branch=master)](https://travis-ci.org/detroit-labs/tslint-config)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Sponsored by Detroit Labs](https://img.shields.io/badge/Sponsor-Detroit%20Labs-000000.svg)](https://www.detroitlabs.com/open-source)\n\n[TSLint](https://github.com/palantir/tslint/) configurations used in Detroit Labs' TypeScript projects\n\n### Installation\n\n```sh\n$ yarn add @detroit-labs/tslint-config --dev\n```\n\n### Usage\n\nTo use the lint configuration with the default preset, use configuration inheritance via the `extends` keyword.\nHere's a sample configuration where `tslint.json` lives adjacent to your `node_modules` folder:\n\n```js\n{\n  \"extends\": [\"@detroit-labs/tslint-config\"],\n  \"rules\": {\n    // override rules here\n    \"semicolon\": false\n  }\n}\n```\n\nThere are two primary configurations supplied for convenience:\n\n* `@detroit-labs/tslint-config/react`: contains extra configuration for a TypeScript React project\n* `@detroit-labs/tslint-config/node`: contains extra configuration for a Node server project\n\nUsage is the same as above:\n\n```js\n{\n  \"extends\": [\"@detroit-labs/tslint-config/react\"],\n  \"rules\": {\n    // override rules here\n    \"semicolon\": false\n  }\n}\n```\n\nTo lint all TypeScript files in the `src/` directory, for example, run `tslint -c tslint.json 'src/**/*.{ts,tsx}'`.\n\n### Development\n\n#### Note\n\nThis project uses [semantic-release](https://github.com/semantic-release/semantic-release) for fully automated NPM package publishing. **Instead of using `git commit`, please use `yarn commit` and follow the prompts for entering a conventional changelog message.** This is crucial for letting tools manage package publishing and semantic versioning. :robot: Please see [this blog post](http://devboosts.com/2017/03/28/conventional-commits/) for a run through of the tooling used in this repo. If you are using GitHub Desktop to commit to this repo, please refer to the [AngularJS Git Commit Message Conventions](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/preview) (or use the command-line to commit :nerd_face:).\n\n#### Workflow\n\n* Install dependencies and commit hooks with `yarn install`\n* Make changes to the TSLint configuration(s)\n* Stage changes - `git add .`\n* Create a conventional commit - `yarn commit`\n* Push to GitHub and open a pull request\n\n### Changelog\n\nSee the GitHub [release history](https://github.com/detroit-labs/tslint-config/releases).\n","maintainers":[{"email":"glidej@gmail.com","name":"glidej"},{"email":"macklinu@gmail.com","name":"macklinu"},{"email":"davidklaw@gmail.com","name":"davidklaw"}],"time":{"modified":"2022-06-12T17:02:04.541Z","created":"2017-05-09T17:57:26.875Z","1.0.0":"2017-05-09T17:57:26.875Z","2.0.0":"2017-05-10T15:22:58.813Z"},"homepage":"https://github.com/detroit-labs/tslint-config#readme","keywords":["tslint","detroit-labs"],"repository":{"type":"git","url":"git+https://github.com/detroit-labs/tslint-config.git"},"author":{"name":"Macklin Underdown","email":"macklinu@gmail.com"},"bugs":{"url":"https://github.com/detroit-labs/tslint-config/issues"},"license":"MIT","readmeFilename":"README.md"}