{"_id":"eslint-config-buildo","_rev":"31-d643330bb10553168c888dc0fe2fdccc","name":"eslint-config-buildo","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"eslint-config-buildo","version":"0.1.0","keywords":["eslint","eslintconfig","config","buildo","javascript","styleguide"],"author":{"name":"Francesco Cioria","email":"francesco@buildo.io"},"license":"MIT","_id":"eslint-config-buildo@0.1.0","maintainers":[{"name":"ascariandrea","email":"dev.ascariandrea@gmail.com"}],"homepage":"https://github.com/buildo/eslint-config","bugs":{"url":"https://github.com/buildo/eslint-config/issues"},"dist":{"shasum":"f348428fc1bb3013d4688dc9a48cc336f4b54549","tarball":"https://registry.npmjs.org/eslint-config-buildo/-/eslint-config-buildo-0.1.0.tgz","integrity":"sha512-d7Zf7K5bujOTU8mP/9uftey5v9NFMK498L7d+3j6a3NPzm8HIUHwMV1NpmAzyDXPbEN+0YKOXrfrOPdcizEEaQ==","signatures":[{"sig":"MEYCIQDozRsReZ0EeJg0MUN7RbVGA8Xhe/la5PXP9ZWpTKW77QIhAOVMrSpbkuX5COzZK/oGLp5uZ5HVs20bhbih9JuUepiL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"f348428fc1bb3013d4688dc9a48cc336f4b54549","gitHead":"73fe062470c424bcb5fff94a607762f8d2026c86","scripts":{"lint":"eslint ."},"_npmUser":{"name":"ascariandrea","email":"dev.ascariandrea@gmail.com"},"repository":{"url":"git+https://github.com/buildo/eslint-config.git","type":"git"},"_npmVersion":"3.5.3","description":"buildo's ESLint config, following our styleguide","directories":{},"_nodeVersion":"0.12.7","dependencies":{"eslint-plugin-react":"^4.1.0","eslint-plugin-no-loops":"^0.1.1","eslint-plugin-no-copy-paste-default-export":"^0.0.3"},"peerDependencies":{"eslint":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-buildo-0.1.0.tgz_1457515241566_0.3900681948289275","host":"packages-13-west.internal.npmjs.com"}},"0.2.0":{"name":"eslint-config-buildo","version":"0.2.0","keywords":["eslint","eslintconfig","config","buildo","javascript","styleguide"],"author":{"name":"Francesco Cioria","email":"francesco@buildo.io"},"license":"MIT","_id":"eslint-config-buildo@0.2.0","maintainers":[{"name":"buildo","email":"we@buildo.io"}],"homepage":"https://github.com/buildo/eslint-config","bugs":{"url":"https://github.com/buildo/eslint-config/issues"},"dist":{"shasum":"484461a68d1037330cdb182388e3c4c3bbe69bb1","tarball":"https://registry.npmjs.org/eslint-config-buildo/-/eslint-config-buildo-0.2.0.tgz","integrity":"sha512-hnTvwm03owbjmzl6k66eMy8Z+NdJQFHsztDbW55V/Q+gWU5SS94OQH0nQWQmNPpFCeNRkbvbbms9FNKTbKveQA==","signatures":[{"sig":"MEQCIH/B+njI8YeQZzL4los1YWHkxnGXmGAODnu/ZKVMUmDrAiB3tmXS0ArUIQKQLsIf2IO/aPUU1wAlMyaMKEECVpA13w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"484461a68d1037330cdb182388e3c4c3bbe69bb1","gitHead":"c2992466c603b5fd24c577a2793259a73ac5a752","scripts":{"lint":"eslint ."},"_npmUser":{"name":"buildo","email":"we@buildo.io"},"repository":{"url":"git+https://github.com/buildo/eslint-config.git","type":"git"},"_npmVersion":"3.8.8","description":"buildo's ESLint config, following our styleguide","directories":{},"_nodeVersion":"5.10.1","dependencies":{"eslint-plugin-react":"^4.1.0","eslint-plugin-no-loops":"^0.1.1","eslint-plugin-no-copy-paste-default-export":"^0.0.3"},"peerDependencies":{"eslint":">= 2.4.0 < 4"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-buildo-0.2.0.tgz_1478771942751_0.6734645471442491","host":"packages-18-east.internal.npmjs.com"}},"0.2.1":{"name":"eslint-config-buildo","version":"0.2.1","keywords":["eslint","eslintconfig","config","buildo","javascript","styleguide"],"author":{"name":"Francesco Cioria","email":"francesco@buildo.io"},"license":"MIT","_id":"eslint-config-buildo@0.2.1","maintainers":[{"name":"gabro","email":"gabriele@buildo.io"}],"homepage":"https://github.com/buildo/eslint-config","bugs":{"url":"https://github.com/buildo/eslint-config/issues"},"dist":{"shasum":"e710b6acd8eb969486caaac17a7da20c667ec849","tarball":"https://registry.npmjs.org/eslint-config-buildo/-/eslint-config-buildo-0.2.1.tgz","integrity":"sha512-l684HAgUC5TjQrN7slF2rNP3bvG7Rme6GUsixofUMysUPDSN39me6P4iSdqk3KmenOzYzAtr09lMRk8iGQ4yZA==","signatures":[{"sig":"MEQCIG+jb8VwQc0epMNDoYSmzz0IhfhKSgUBilRSslaoZ+Z/AiAytTirg+Hlw/TP2kfL2JZsJzsPKhywYaWRdKsQLowvQQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","rules"],"_shasum":"e710b6acd8eb969486caaac17a7da20c667ec849","gitHead":"8f5722c49037011129616a53709c3dbab5545db3","scripts":{"lint":"eslint rules --config rules/default.js","test":"jest","release-version":"smooth-release"},"_npmUser":{"name":"giogonzo","email":"giovanni@buildo.io"},"repository":{"url":"git+https://github.com/buildo/eslint-config.git","type":"git"},"_npmVersion":"3.10.8","description":"buildo's ESLint config, following our styleguide","directories":{},"_nodeVersion":"6.9.1","dependencies":{"eslint-plugin-react":"^6.6.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-no-copy-paste-default-export":"^0.0.3"},"devDependencies":{"jest":"^19.0.0","eslint":"^3.9.1","babel-eslint":"^7.1.0","smooth-release":"^8.0.4"},"peerDependencies":{"eslint":">= 2.4.0 < 4"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-buildo-0.2.1.tgz_1497012246589_0.60349854035303","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"eslint-config-buildo","version":"0.2.2","keywords":["eslint","eslintconfig","config","buildo","javascript","styleguide"],"author":{"name":"Francesco Cioria","email":"francesco@buildo.io"},"license":"MIT","_id":"eslint-config-buildo@0.2.2","maintainers":[{"name":"gabro","email":"gabriele@buildo.io"}],"homepage":"https://github.com/buildo/eslint-config","bugs":{"url":"https://github.com/buildo/eslint-config/issues"},"dist":{"shasum":"5ccc74a5c838adf452fa390ba8b8e1a0f5daec4a","tarball":"https://registry.npmjs.org/eslint-config-buildo/-/eslint-config-buildo-0.2.2.tgz","integrity":"sha512-He7U/E51H6/NfpmINqXtDWDlu6WW9x8zYABMxbCUd0AkuBmg8aGLh4x6ac7BmUJs4B4TPsuAG+hlN+2rGToj1w==","signatures":[{"sig":"MEQCIAyzK64Q7PV10zRR5+xKTOyFdQ9Ed/L2fIDd3VvveK1AAiByDPDbeW0iXzGAZ/vmllqlltZY1bQbXtQb4yQela43hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js","rules"],"_shasum":"5ccc74a5c838adf452fa390ba8b8e1a0f5daec4a","gitHead":"d1499e5e75d5782a19c6a5f1f5e1a9a4d3927521","scripts":{"lint":"eslint rules --config rules/default.js","test":"jest","release-version":"smooth-release"},"_npmUser":{"name":"gabro","email":"gabriele@buildo.io"},"repository":{"url":"git+https://github.com/buildo/eslint-config.git","type":"git"},"_npmVersion":"3.10.8","description":"buildo's ESLint config, following our styleguide","directories":{},"_nodeVersion":"6.9.1","dependencies":{"eslint-plugin-react":"^6.6.0","eslint-plugin-no-loops":"^0.3.0","eslint-plugin-no-copy-paste-default-export":"^0.0.3"},"devDependencies":{"jest":"^19.0.0","eslint":"^3.9.1","babel-eslint":"^7.1.0","smooth-release":"^8.0.4"},"peerDependencies":{"eslint":">= 2.4.0 < 4"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-buildo-0.2.2.tgz_1500917811113_0.6726124410051852","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-03-09T09:20:46.167Z","modified":"2024-07-09T08:16:22.265Z","0.1.0":"2016-03-09T09:20:46.167Z","0.2.0":"2016-11-10T09:59:03.313Z","0.2.1":"2017-06-09T12:44:07.485Z","0.2.2":"2017-07-24T17:36:52.023Z"},"bugs":{"url":"https://github.com/buildo/eslint-config/issues"},"author":{"name":"Francesco Cioria","email":"francesco@buildo.io"},"license":"MIT","homepage":"https://github.com/buildo/eslint-config","keywords":["eslint","eslintconfig","config","buildo","javascript","styleguide"],"repository":{"url":"git+https://github.com/buildo/eslint-config.git","type":"git"},"description":"buildo's ESLint config, following our styleguide","maintainers":[{"email":"dimartino.pedro@gmail.com","name":"pedrodim"},{"email":"marpi93@icloud.com","name":"marcopiii"},{"email":"gabriele@buildo.io","name":"gabro"},{"email":"vincenzo@buildo.io","name":"veej"},{"email":"giovanni@buildo.io","name":"giogonzo"},{"email":"tommaso.petrucciani@buildo.io","name":"tpetrucciani"},{"email":"zibo.camito@gmail.com","name":"malpenzibo"},{"email":"federico.ercoles@buildo.io","name":"federico.ercoles"}],"readme":"# eslint-config-buildo\nbuildo's eslint shared config\n\n## Usage\nIn your project's `.eslintrc`\n\n```js\n{\n  \"extends\": \"buildo\"\n}\n```\n\nIf you need to override or turn off rules:\n\n```js\n{\n  \"extends\": \"buildo\",\n  \"rules\": {\n    \"comma-dangle\": 0, // disable trailing commas\n    \"jsx-quotes\": \"prefer-double\" // change\n  }\n}\n```\n\nYou will need the following npm packages:\n\n```sh\nnpm i --save-dev babel-eslint\\\n                 eslint\\\n                 eslint-config-buildo\n```\n\nIf you'd rather install them globally, you need to explictly require some\nplugins as well:\n\n```sh\nnpm i -g babel-eslint\\\n         eslint\\\n         eslint-config-buildo\\\n         eslint-plugin-no-copy-paste-default-export\\\n         eslint-plugin-no-loops\\\n         eslint-plugin-react\n```\n\n## Proposing a new rule\nIf you are proposing a new rule, you can use [`linto`](http://github.com/buildo/linto) to pre-check whether it will cause new errors or warnings in the existing projects.\n\nFirst, get the latest version of linto:\n\n```\nyarn global add linto\n# or if you have time\nnpm install -g linto\n```\n\nThen you can use the configuration you'll find in this repo as a base.\n\n#### Example\nSuppose you want to propose the addition of `guard-for-in`. Edit the `linto-config.yml` by adding the rule under test to the `eslintConfig` section:\n\n```yaml\nrepos:\n  // ...\neslintConfig:\n  // ...\n  rules:\n    guard-for-in: 2\n}\n```\n\nThen run linto\n\n```sh\nlinto run -c linto-config.yml\n```\n\nThis will generate a report that you can copy-paste on a GitHub issue.\n\n> #### NOTE\n> `linto` purposely ignores the project-specific configurations, so you may run into errors not directly related to the rule under test. If that's the case, simply turn off the offending rules in the configuration, to get more precise results. For instance, if you get a lot of `max-len` errors, just do:\n\n```yaml\nrepos:\n  // ...\neslintConfig:\n  // ...\n  rules:\n    max-len: 0\n    guard-for-in: 2\n```\n\nYou can also do the same for a single repo. For example, this turns off the `semi` rule only for the 'buildo/foo' repo:\n\n```yaml\nrepos:\n  - owner: buildo\n    name: foo\n    eslintConfig:\n      rules:\n        semi: 0\n  // ...\neslintConfig:\n  // ...\n  rules:\n    guard-for-in: 2\n```\n\n## Proposing a new plugin\nSimilarly to rules, you can test new plugins (and their rules). If you add any entries to the `plugins` section of the ESLint configuration, they will get installed and made available while `linto` runs.\n\n#### Example\nSuppose you want to propose the addition of `eslint-plugin-import`. Proceed like before, using a configuration like:\n\n```yaml\nrepos:\n  // ...\neslintConfig:\n  // ...,\n  plugins:\n    - import\n  rules:\n    import/named: 2\n```\n","readmeFilename":"README.md"}