{"_id":"@bizdotcom/eslint-config-bdc","_rev":"1-74f5ffa684f9a99610e7fb0faf7a07f5","name":"@bizdotcom/eslint-config-bdc","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@bizdotcom/eslint-config-bdc","version":"0.0.1","description":"eslint config for business.com, businessnewsdaily.com, buyerzone.com and other related projects","main":"index.js","scripts":{"publishPublic":"npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/businessdotcom/eslint-config-bdc.git"},"keywords":["eslint","config","javascript","code","style","linting"],"author":{"name":"BDC Dev Garage","url":"gh:@businessdotcom t:@bdc_dev_garage"},"license":"MIT","bugs":{"url":"https://github.com/businessdotcom/eslint-config-bdc/issues"},"homepage":"https://github.com/businessdotcom/eslint-config-bdc#readme","peerDependencies":{"eslint":">= 3","eslint-config-react-app":">= 5","eslint-plugin-prettier":"^3.1.2","prettier":"^1.19.1"},"dependencies":{},"devDependencies":{},"gitHead":"381e738fa394b69702872eda748b774678f32979","_id":"@bizdotcom/eslint-config-bdc@0.0.1","_nodeVersion":"10.16.2","_npmVersion":"6.9.0","_npmUser":{"name":"alexjsdev","email":"alexjsdev@gmail.com"},"dist":{"integrity":"sha512-/0gCoh3bNEMD1OPxRPZ52pymJFCEHwzjZBo4WqoMwAOhEcnQL9D+7lke6OxmsP6U2BNfiq2GmK5B/8UByOKrWA==","shasum":"8114fff798b03084b3f4a31b0d2a379b28d5c616","tarball":"https://registry.npmjs.org/@bizdotcom/eslint-config-bdc/-/eslint-config-bdc-0.0.1.tgz","fileCount":4,"unpackedSize":5559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOwS6CRA9TVsSAnZWagAAgRsP/jEr8pe6Qzqu8QjMNChW\nuQKLGn37VcCMfL3TgA9kwG1FHSGjetdjXcEDUuTc+EyyDlZ2UphMVbvoWccP\nhfBr3qNoauJIpik+JMoY4N/PhOR08/zk+Ql+qAQVHf8GtMdp3CpjDC+SUJq8\nlVbg0F9BmPQIFbQH8x+7T3fCwm1yWHAlpSHpkXCqDjD0dsSZxHXYw9OeiWWV\ndMhD/yHBaKti3uzZUjLI5Ung5Wng1cyBwhtUD4gzpdti1LlX9Uoxu4UVB1Eu\nGqKr5jEqk1FXFVpLIpOv4fzhtVViweO1lk9wt1hZQIaUsjPUrP8hF/d4cmeZ\nMhVA9WJxGeMhAkdvt2WqqmD/+k0tuno7TCQxKslGqB2o08Ykrhf53HsmMDlP\n2ioh9MqIXHzt5J0n/7acXnYDJPx1cIY5kysDnflyq6yz/9DfOgoL3LY2e2yh\nEMcNv6sXM6kbdaeFIF+fNBvb1dY6kWJAmLgXbs3M7aUnKCC4BKseavFioDUy\n3qipa8U0QXu+bHY6xiUvoflr+zYHYY7XLFeH2y94NlbXsXZzgLR4enR8Ooen\nfNSV2Gs1q5nDT39FySePggbW/0tBDfP5UNfZY3iBRbqxysJadqAt4ivvK0P8\nWqLJs4XQdShezygVdhU+peBGbHTXV4/0mrMDeZSM+C3Bpp6l+PxrFDe90F3G\n8KVz\r\n=glIJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjO+Yp6XUYOB5WBP7/mTi3kynJMole0kOHaF9xSI3l8gIgScn1g8EOeEdq7t4ZBpVdqNL8T6bKpwxpq6zYeo0whyA="}]},"maintainers":[{"name":"alexjsdev","email":"alexjsdev@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-bdc_0.0.1_1580926137351_0.9076189627917062"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-05T18:08:56.889Z","0.0.1":"2020-02-05T18:08:57.910Z","modified":"2022-04-04T19:17:14.263Z"},"maintainers":[{"name":"alexjsdev","email":"alexjsdev@gmail.com"}],"description":"eslint config for business.com, businessnewsdaily.com, buyerzone.com and other related projects","homepage":"https://github.com/businessdotcom/eslint-config-bdc#readme","keywords":["eslint","config","javascript","code","style","linting"],"repository":{"type":"git","url":"git+https://github.com/businessdotcom/eslint-config-bdc.git"},"author":{"name":"BDC Dev Garage","url":"gh:@businessdotcom t:@bdc_dev_garage"},"bugs":{"url":"https://github.com/businessdotcom/eslint-config-bdc/issues"},"license":"MIT","readme":"# eslint-config-bdc\n\nbusiness.com engineering team's eslint setup via reusable NPM package.\n\n\nThis eslint config extends [this create react app one](https://github.com/facebook/create-react-app/tree/master/packages/eslint-config-react-app)\nand adds [prettier](https://prettier.io/docs/en/integrating-with-linters.html) formatting to it with some additional rules we standardized around at business.com.\n\n## Install:\n\n#### Step 1: Install the config and all of it's peer deps:\n```\nyarn add -D @bizdotcom/eslint-config-bdc eslint-config-react-app @typescript-eslint/eslint-plugin@2.x @typescript-eslint/parser@2.x babel-eslint@10.x eslint@6.x eslint-plugin-flowtype@3.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@1.x prettier eslint-plugin-prettier\n\nor\n\nnpm install -D @bizdotcom/eslint-config-bdc eslint-config-react-app @typescript-eslint/eslint-plugin@2.x @typescript-eslint/parser@2.x babel-eslint@10.x eslint@6.x eslint-plugin-flowtype@3.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@1.x prettier eslint-plugin-prettier\n```\n\n#### Step 2: Create a file named `.eslintrc.json` with following contents in the root folder of your project:\n\n```\n{\n  \"extends\": \"@bizdotcom/eslint-config-bdc\"\n}\n```\n\n## Use:\n\nThere are many ways you can run eslint. Here are a few suggestions:\n\n1. Run eslint in your code editor of choice via eslint extension.\n\t- [vscode eslint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n\t\t- **(Recommended)** eslint can do more than just lint, especially the way we have it configured.\n\t\tTo automate some of the fixable errors/warnings and the prettier code formatting\n\t\twe recommend that you enable this setting to make eslint run as soon as you hit\n\t\tsave. Add this to your settings.json:\n\t\t\t```\n\t\t\t\"editor.codeActionsOnSave\": {\n\t\t\t\t\"source.fixAll.eslint\": true\n\t\t\t}\n\t\t\t```\n\t- [sublime eslint extension](https://github.com/SublimeLinter/SublimeLinter-eslint)\n\t- and many more can be [found here](https://eslint.org/docs/user-guide/integrations#editors)\n\n\n2. An NPM script in your package.json: `\"lint\": \"eslint --ext .js,.jsx ./src\"`\n\t- optionally you could also add a script which runs the fix command for you: `\"lint-fix\": \"yarn run lint --fix\"`\n\t- you could have these script run on commit-hooks with help from tools like [husky](https://github.com/typicode/husky)\n\tor watch your files and run on save via build tools like webpack, gulp, or eslint-watch etc.\n\n3. Like we said, these are just our suggested methods, we know there are others, you're welcome to use whichever method\nworks best for you!\n\n","readmeFilename":"README.md"}