{"bin":{"run-e":"bin/run_e.js","run-ci":"bin/run_ci.js","run-local":"bin/run_local.js"},"bugs":{"url":"https://github.com/netlify/node-eslint-config/issues"},"dist":{"shasum":"787cab9052480d4735c28531fca1f5194a184321","tarball":"https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.0-test.tgz","fileCount":12,"integrity":"sha512-ieYKNQ91ZPraGSO+Pd3np6WoG274KKRd1UjqvpFt6bncpv0diiZP5l3w1AisF/NzOKW1QVbR6Z4ugD0jwhmZRQ==","signatures":[{"sig":"MEQCICQG2NZSnCoo0ayfO27ixqppHAIjJ/U6HeZA45I4PwREAiAm6dT97LQQ0a922LDVy2sFIxAiI4pSuEPTSnz78RDHpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2gVBCRA9TVsSAnZWagAAGZoP/0gK4w8IpRcOmJytFJbS\n5J8kMIUQUAaAsW/+o5Dnjy8pSmkWDObztCQrNC3ZhvQMa+oHf1eHVdUodhD9\nXdJ2Z73YBMkAvmfmnjoXg+xrSmHWEx6o8wuJrQgBqd6A6lVucw80pIfgwcSp\nVESf49k0FFpfYcKfzJg8ROa5B7r4eaX7HoHFIgZfqKlIrLofJkG8Kodzwx7V\nZYm6Cx/asbaz4uvrwiSiOrBK3A/zub1bM6vYTQ6/nKLYHWn72UrYORr/D+fk\nhIdlqx5EMDe5pWREuCtsLxMlTk1ghLdEoN5s3C8OJ0Eia0kap/YTsW6uq+hV\n54cev2KSm25Ti8ZIR67HNc6LhLjI3M8K3MX5+FEgyf0pBQ1QIrFByMSoVFmH\nclUAjP8SgceBNpiofWLcHuVROlLVS1yWeNL0WXpqAiG/85dRWx2OEDg5aaEI\nspjf5nR5EKlaWzK1b7xTqUkin0n2sN7KoFkuM6A6qzB3YmLyqL6lzfjWqVXQ\nmEbLQVk1vWf34GM+nu/tH+WwiK2PxXlRrS9uqNHsdfOsfbiyPDiXYttaYH4w\nn1ZegV5MUNGML0YvwYyzlbd79S+8EPMEV4Bw4pFPN6UK7qamVp2Ja521wV6i\nVf3OsoidJHuDQi/gA59DkJ5UxmWO++E1LbQU+jf1ucszMj/H5JtDQGAKu3r8\n/f47\r\n=WE4a\r\n-----END PGP SIGNATURE-----\r\n"},"main":".eslintrc.js","name":"@netlify/eslint-config-node","husky":{"hooks":{"pre-push":"npm run format","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"author":{"name":"Netlify Inc."},"config":{"eslint":"--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{bin,.github}/**/*.{js,md,html}\" \".*.js\" \"*.md\"","prettier":"--ignore-path .gitignore --loglevel=warn \"{bin,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \"!**/package-lock.json\" \"!CHANGELOG.md\""},"readme":"[![Build](https://github.com/netlify/eslint-config-node/workflows/Build/badge.svg)](https://github.com/netlify/node-eslint-config/actions)\n[![Node](https://img.shields.io/node/v/@netlify/eslint-config-node.svg?logo=node.js)](https://www.npmjs.com/package/@netlify/node-eslint-config)\n\nLinting and formatting configuration shared by Netlify Node.js repositories:\n\n- [ESLint](https://eslint.org/)\n- [Prettier](https://prettier.io/)\n- [Editorconfig](https://editorconfig.org/)\n- `.gitattributes`\n\n## How to add to a new Node.js repository\n\nIf you're creating a new repository, you can use the\n[following GitHub template](https://github.com/netlify/node-template). Otherwise, please follow those steps:\n\n- `npm install -D @netlify/eslint-config-node husky@4`\n- Add a `.eslintrc.js` file to the root of the project. Based on the type of the project update the content of the file:\n\n### Node.js project\n\n```js\nconst { overrides } = require('@netlify/eslint-config-node')\n\nmodule.exports = {\n  extends: '@netlify/eslint-config-node',\n  rules: {},\n  overrides: [...overrides],\n}\n```\n\n### React application\n\n```js\nconst { overrides } = require('@netlify/eslint-config-node/react_config')\n\nmodule.exports = {\n  extends: '@netlify/eslint-config-node/react_config',\n  rules: {},\n  overrides: [...overrides],\n}\n```\n\n### Vanilla JS in HTML files\n\n```js\nconst { overrides } = require('@netlify/eslint-config-node/vanilla_js_config')\n\nmodule.exports = {\n  extends: '@netlify/eslint-config-node/vanilla_js_config',\n  rules: {},\n  overrides: [...overrides],\n}\n```\n\n> Individual `rules` and `overrides` can be tweaked for the specific project.\n\n- Add the following `.prettierrc.json` to the root of the project:\n\n```json\n\"@netlify/eslint-config-node/.prettierrc.json\"\n```\n\n- Add the following `commitlint.config.js` to the root of the project:\n\n```js\nmodule.exports = { extends: ['@commitlint/config-conventional'] }\n```\n\n- Copy the `.editorconfig` and `.gitattributes` files relativity to the root of the project.\n- Add the following properties to the `package.json`. Please replace the `config` globbing expressions to match the\n  files where the source JavaScript/Markdown/HTML/JSON/YAML files are located. `npm run format` should also be run\n  during `npm test` and `npm run format:ci` during CI\n  ([example](https://github.com/netlify/cli/blob/main/.github/workflows/main.yml)).\n\n```json\n{\n  \"scripts\": {\n    \"format\": \"run-s format:check-fix:*\",\n    \"format:ci\": \"run-s format:check:*\",\n    \"format:check-fix:lint\": \"run-e format:check:lint format:fix:lint\",\n    \"format:check:lint\": \"cross-env-shell eslint $npm_package_config_eslint\",\n    \"format:fix:lint\": \"cross-env-shell eslint --fix $npm_package_config_eslint\",\n    \"format:check-fix:prettier\": \"run-e format:check:prettier format:fix:prettier\",\n    \"format:check:prettier\": \"cross-env-shell prettier --check $npm_package_config_prettier\",\n    \"format:fix:prettier\": \"cross-env-shell prettier --write $npm_package_config_prettier\"\n  },\n  \"config\": {\n    \"eslint\": \"--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \\\"{src,scripts,tests,.github}/**/*.{js,md,html}\\\" \\\"*.{js,md,html}\\\" \\\".*.{js,md,html}\\\"\",\n    \"prettier\": \"--ignore-path .gitignore --loglevel=warn \\\"{src,scripts,tests,.github}/**/*.{js,md,yml,json,html}\\\" \\\"*.{js,yml,json,html}\\\" \\\".*.{js,yml,json,html}\\\" \\\"!package-lock.json\\\"\"\n  },\n  \"husky\": {\n    \"hooks\": {\n      \"commit-msg\": \"commitlint -E HUSKY_GIT_PARAMS\",\n      \"pre-push\": \"npm run format\"\n    }\n  }\n}\n```\n\n- Add `.eslintcache` to the `.gitignore`\n","engines":{"node":">=16.0.0"},"gitHead":"72dde433f4f4d35c9f8c4c0a4629fa0cf269c7ac","license":"Apache-2.0","scripts":{"test":"run-s format test:dev","format":"run-s format:check-fix:*","test:ci":"run-s test:ci:*","test:dev":"run-s test:dev:*","format:ci":"run-s format:check:*","test:ci:ava":"nyc -r lcovonly -r text -r json ava","test:dev:ava":"ava","prepublishOnly":"npm ci && npm test","format:fix:lint":"cross-env-shell eslint --fix $npm_package_config_eslint","format:check:lint":"cross-env-shell eslint $npm_package_config_eslint","format:fix:prettier":"cross-env-shell prettier --write $npm_package_config_prettier","format:check-fix:lint":"./bin/run_e.js format:check:lint format:fix:lint","format:check:prettier":"cross-env-shell prettier --check $npm_package_config_prettier","format:check-fix:prettier":"./bin/run_e.js format:check:prettier format:fix:prettier"},"_npmUser":{"name":"netlify-bot","email":"bot@netlify.com"},"homepage":"https://github.com/netlify/eslint-config-node#readme","keywords":["eslint","eslintconfig","prettier","prettierrc","standard","standard style","JavaScript Standard Style","editorconfig","lint","configuration","config","strict","modern","modularity","functional","fp"],"deprecated":"this version was created for testing purposes only","repository":{"url":"git+https://github.com/netlify/eslint-config-node.git","type":"git"},"_npmVersion":"7.18.1","description":"ESLint and Prettier configuration for Netlify Node.js projects","directories":{"test":"test"},"maintainers":[{"name":"lukeoliff","email":"luke@lukeoliff.com"},{"name":"ascorbic","email":"m@mk.gg"},{"name":"zachleat","email":"zachleatherman@gmail.com"},{"name":"nasiba","email":"nasiba@netlify.com"},{"name":"netlify-bot","email":"bot@netlify.com"},{"name":"charliegerard","email":"charlie.a.gerard@gmail.com"},{"name":"eduardoboucas","email":"mail@eduardoboucas.com"},{"name":"jgantunes","email":"me@jgantunes.com"},{"name":"biilmann","email":"info@mathias-biilmann.net"},{"name":"benaiah","email":"benaiah@mischenko.com"},{"name":"erquhart","email":"shawn@netlify.com"},{"name":"shortdiv","email":"hello@shortdiv.com"},{"name":"marcus.netlify","email":"marcus+npm@netlify.com"},{"name":"ehmicky","email":"ehmicky@gmail.com"},{"name":"erezro","email":"erezrokah@gmail.com"},{"name":"lesliecdubs","email":"leslie@cohnwein.com"},{"name":"futuregerald","email":"gerald.onyango@gmail.com"},{"name":"neolegends","email":"moritz.gunz@gmail.com"},{"name":"lindsaylevine","email":"lindslev.ll@gmail.com"}],"_nodeVersion":"16.4.0","dependencies":{"execa":"^5.0.0","husky":"^4.3.0","is-ci":"^3.0.0","eslint":"^7.21.0","prettier":"^2.1.2","statuses":"^2.0.1","cross-env":"^7.0.2","@babel/core":"^7.13.8","npm-run-all":"^4.1.5","@commitlint/cli":"^12.0.0","eslint-plugin-fp":"^2.3.0","eslint-plugin-ava":"^12.0.0","eslint-plugin-html":"^6.1.0","eslint-plugin-node":"^11.1.0","eslint-plugin-react":"^7.21.5","@babel/eslint-parser":"^7.13.8","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^5.0.0","eslint-plugin-unicorn":"^33.0.0","eslint-config-prettier":"^8.0.0","eslint-config-standard":"^16.0.0","eslint-plugin-markdown":"^2.0.0","eslint-import-resolver-node":"^0.3.4","eslint-plugin-eslint-comments":"^3.2.0","@commitlint/config-conventional":"^12.0.0","eslint-plugin-you-dont-need-lodash-underscore":"^6.10.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^3.13.0","nyc":"^15.1.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-node_4.0.0-test_1624900928419_0.3889222885886483","host":"s3://npm-registry-packages"},"_id":"@netlify/eslint-config-node@4.0.0-test","version":"4.0.0-test"}