{"_id":"trussle-eslint","_rev":"127-63a0e1e95245057ab18c72a4335eccb0","name":"trussle-eslint","dist-tags":{"latest":"1.3.2"},"versions":{"1.3.0":{"name":"trussle-eslint","version":"1.3.0","author":{"name":"Team Trussle"},"license":"ISC","_id":"trussle-eslint@1.3.0","maintainers":[{"name":"trussle","email":"team@trussle.com"}],"homepage":"https://github.com/trussle/trussle-eslint#readme","bugs":{"url":"https://github.com/trussle/trussle-eslint/issues"},"dist":{"shasum":"07b9c691372a4af8eb736a08a165a25905b5464a","tarball":"https://registry.npmjs.org/trussle-eslint/-/trussle-eslint-1.3.0.tgz","integrity":"sha512-gr5YoTccB9h4kNpQMHL0S3wKu71xVRDtOAilooWDTL/RvnDPlN3vLSimYlv/BPtgcze7zNzllGZ+mDfVqGFPkw==","signatures":[{"sig":"MEUCIQCuGTJ7dMd34R+5NsEFzSPsCzkNrm8ac/KtNCcL+i08RQIgXNTyztEnuhz7qmiZDJPf0epFT6YFTU39mBjJf4HhX/A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":".eslintrc.js","_from":".","_shasum":"07b9c691372a4af8eb736a08a165a25905b5464a","gitHead":"0860e89724a43d175f392e639a19c2db2d3e497b","scripts":{},"_npmUser":{"name":"trussle","email":"team@trussle.com"},"repository":{"url":"git+https://github.com/trussle/trussle-eslint.git","type":"git"},"_npmVersion":"3.7.3","description":"ESLint configuration for Trussle","directories":{},"_nodeVersion":"5.9.1","dependencies":{"eslint":"^2.9.0"},"_npmOperationalInternal":{"tmp":"tmp/trussle-eslint-1.3.0.tgz_1466427266578_0.3166857371106744","host":"packages-12-west.internal.npmjs.com"}},"1.3.1":{"name":"trussle-eslint","version":"1.3.1","author":{"name":"Team Trussle"},"license":"ISC","_id":"trussle-eslint@1.3.1","maintainers":[{"name":"trussle","email":"team@trussle.com"}],"homepage":"https://github.com/trussle/trussle-eslint#readme","bugs":{"url":"https://github.com/trussle/trussle-eslint/issues"},"dist":{"shasum":"fd77cd69923de8dd3be79c34af569407dac191df","tarball":"https://registry.npmjs.org/trussle-eslint/-/trussle-eslint-1.3.1.tgz","integrity":"sha512-qPdUbwABITJ9m7t+kfYv6ACIrxyD2+PxcMr/zVHgSXlu5E9vAAoQY6eneLZyUuwu5bkKa3pu0NHGit3vRlV7cw==","signatures":[{"sig":"MEYCIQCo8ysY5qLpHHaf6rKt/g4g6qV5zAfAzoaUbIed7c4XiAIhAOrPsFjZA3c6vNlQMxFSqhmwf4kzEIgNVJS7ozXeajSy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":".eslintrc.js","_from":".","_shasum":"fd77cd69923de8dd3be79c34af569407dac191df","gitHead":"42a5626443473cfe5469e82d03a97a704070d6a6","scripts":{},"_npmUser":{"name":"trussle","email":"team@trussle.com"},"repository":{"url":"git+https://github.com/trussle/trussle-eslint.git","type":"git"},"_npmVersion":"3.7.3","description":"ESLint configuration for Trussle","directories":{},"_nodeVersion":"5.9.1","dependencies":{"eslint":"^2.9.0"},"_npmOperationalInternal":{"tmp":"tmp/trussle-eslint-1.3.1.tgz_1466434895108_0.9942296182271093","host":"packages-16-east.internal.npmjs.com"}},"1.3.2":{"name":"trussle-eslint","version":"1.3.2","author":{"name":"Team Trussle"},"license":"ISC","_id":"trussle-eslint@1.3.2","maintainers":[{"name":"trussle","email":"team@trussle.com"}],"homepage":"https://github.com/trussle/trussle-eslint#readme","bugs":{"url":"https://github.com/trussle/trussle-eslint/issues"},"dist":{"shasum":"0b2c3b7a1ef517e5e649e8a89d81a74e29c53e27","tarball":"https://registry.npmjs.org/trussle-eslint/-/trussle-eslint-1.3.2.tgz","integrity":"sha512-FcOEVAAXZowl8Rf9nz8K6WtL1leiqEgE6UyKSoxS9pKbbjogZ1azBLiY4Rm7ZnjYyuYRWzpVmsORZy7v9PAZnQ==","signatures":[{"sig":"MEUCIH/3Bkbc7K7T/BMYAWxychHKTlWpoDqCDCB6zP/4FAhkAiEA1CD0/rqoVUsMJ16W1i0FERubnQ7PARnd8M9dhRdR5Ps=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2+TtCRA9TVsSAnZWagAAqOwP/1UZcF50hubj/xPA2DCp\nzYMLsqlxMHpnMvSIEKFscoivoDytYnxkJ5hNOvsT5wKsSDtEZUcBsIgovpHL\n1xxheDCmDbt9BBFkBjRZqnXD2qXZEx24PEZF9JVfIzOnEGRdgLjU77jQSFY9\nLuDPMe4+X53lcgzoLoKJ0M/w/cntQXMVGtGwwesQBos+u90EDfbcoTQrS30M\nO0rzb/yhRZ0ft3dcLmXhDhoZi4JH38N184SkUEM0Toz//f2mwwQ91+EkqKH1\noeZWvyW544tuowQHOUHbSU0cRZFYSodc7WvF9YODNanXCd/PfpU65tTSs0f0\nE3TiazJzMVmr8q1aEzdXMay97OKwYcLz8lJli5eUMBlbtN79RVzcDcvPBfUZ\nM+Hw9AV2zaxNe37cCu1R+6m0xh5gpn1IDQM/eZuACX5fT7voaMc9PGEYA5gX\nOERr6vSJ1DdzzSfUx1zRkipFmxhhAlro+IOubMJemEBIK4xi2cXlsQu1KuCM\nlH+3XcoCELaxMXjTNsOkHvPeGxKML7AKD0of6nlUGCScq8J3IssJ1xRQ+CeL\ncriOgjyNlfI6ZlBPb95WrLApe7MlhEfTelgt5LQox1isaqMjF4Vf08iMlKEq\nTwZKtCNn7i4aQS/cP/N4o0fTo7Wel/a7d90wbQX2+w3TggkxAx9PCM4sEFMW\nIto4\r\n=xw4K\r\n-----END PGP SIGNATURE-----\r\n"},"main":".eslintrc.js","_from":".","_shasum":"0b2c3b7a1ef517e5e649e8a89d81a74e29c53e27","gitHead":"a9db84ee94a4c960407670151e2b3ddfb3a61ae9","scripts":{},"_npmUser":{"name":"trussle","email":"team@trussle.com"},"deprecated":"Replaced with eslint-config-trussle","repository":{"url":"git+https://github.com/trussle/trussle-eslint.git","type":"git"},"_npmVersion":"3.7.3","description":"ESLint configuration for Trussle","directories":{},"_nodeVersion":"5.9.1","dependencies":{"eslint":"^2.9.0"},"_npmOperationalInternal":{"tmp":"tmp/trussle-eslint-1.3.2.tgz_1466435694030_0.6911853707861155","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-06-20T12:54:29.085Z","modified":"2026-08-19T10:43:04.647Z","1.3.0":"2016-06-20T12:54:29.085Z","1.3.1":"2016-06-20T15:01:36.407Z","1.3.2":"2016-06-20T15:14:56.558Z"},"bugs":{"url":"https://github.com/trussle/trussle-eslint/issues"},"author":{"name":"Team Trussle"},"license":"ISC","homepage":"https://github.com/trussle/trussle-eslint#readme","repository":{"url":"git+https://github.com/trussle/trussle-eslint.git","type":"git"},"description":"ESLint configuration for Trussle","maintainers":[{"email":"engineering@trussle.com","name":"trussle-admin"}],"readme":"# ESLint Configuration for Trussle\n\n[![npm version](https://badge.fury.io/js/trussle-eslint.svg)](https://badge.fury.io/js/trussle-eslint)\n\nThis repository collects a bunch of standard [ESLint](http://eslint.org/) files for Trussle repositories.\n\n## Usage\n\nAdd the package to your devDependencies:\n\n```sh\nnpm install --save-dev trussle-eslint\n```\n\nNext, create a file `eslintrc.js` in the root directory of your project pointing to the coding standard:\n\n```js\n\nmodule.exports = {\n  extends: \"./node_modules/trussle-eslint/.eslintrc.js\",\n\n  // You will need to set up an environment:\n  // see http://eslint.org/docs/user-guide/configuring#specifying-environments\n  // for more information.\n  env: {\n    // node: true,\n    // mocha: true,\n    // browser: true,\n    // jasmine: true,\n  }\n};\n```\n\n\nESLint allows nested configuration, allowing you to choose different configurations for your tests, server-side and client-side code. Check out [their website](http://eslint.org/docs/user-guide/configuring#using-configuration-files) for documentation.\n\n## Migrating Older Code\n\nFor older (ES5) code, you probably only want rules around correctness, rather than style. To do this, all you need to do is change the `extends`:\n\n```js\nmodule.exports = {\n  extends: \"./node_modules/trussle-eslint/.eslintrc.js\"\n  // ...\n};\n```\n\n## Changing the Rules\n\n- Have a good reason for changing the rule, and write it as a comment near the rule in `.eslint.js`.\n- Bump the version number:\n  - `0.0.0 => 1.0.1` for rule configuration changes.\n  - `0.0.x => 0.1.x` for added or removed rules.\n  - `0.x.x => 1.x.x` for major changes (new ESLint version, etc.).\n- Commit, push, and update the package in the project you're working on.\n","readmeFilename":"README.md"}