{"_id":"@hapi/rule-scope-start","_rev":"16-dbd933af007a4fff934d1fa4ccc4650d","name":"@hapi/rule-scope-start","dist-tags":{"latest":"2.2.0"},"versions":{"2.2.0":{"name":"@hapi/rule-scope-start","version":"2.2.0","keywords":["eslint","hapi","scope"],"license":"BSD-3-Clause","_id":"@hapi/rule-scope-start@2.2.0","maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"homepage":"https://github.com/hapijs/rule-scope-start#readme","bugs":{"url":"https://github.com/hapijs/rule-scope-start/issues"},"dist":{"shasum":"5dc868e42a00d16ad9b81aae1ac0ee682c63b20b","tarball":"https://registry.npmjs.org/@hapi/rule-scope-start/-/rule-scope-start-2.2.0.tgz","fileCount":7,"integrity":"sha512-n0adld0osaYNXlus/64dCN0GlkMvmwuJfkpM0OtrA2U7x2Iu1XoHV6Lmne3C+9gM8X/xLUviYLoTCOC7IW8RYg==","signatures":[{"sig":"MEUCIH4d2lE3Z/6wzm5Tv3m8r2J48vkFujZg0DFrQpHfJeAoAiEA58pD56dGX+KQH768R6CBhJbTkAhhxjE9Eu6TniUh/FQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvrQFCRA9TVsSAnZWagAAEAEP/RGv4E20d2PMVV2vamR1\nG10HxVUZwQzvpoohOkNtGQ1Cazc0AchRChRQ5WYWVc3gnL0/S29A26P4WXTm\nUAx6U7q99Yz++hRnyuWhl0pqzpj/nv8laQkXlHyLbhI6/FTX1sGG2fgwEXMp\nywzApBhAJUmin8iTbDri/T/OA8bEYpjMdgCsVomFqiDTBlPr34yodN1hUShh\nH47xJqzpfwFjLcgyxyBlJOQvnnQBZ806KdBwJJtiVKz42Jm8Giu7oKe41O08\nwY+LXLmTuCuQGY26jzBkuhzUad3oqnCazgfRlG9W0jukrDz/UywtYpfdYqV5\n5qpD6t2cL1zxA6x5x8POoWe0NCgob1F5xR+rR9YyhgNK86J99XFRYBZJy3c1\nVzaPGa7na8iKUHms9NzbcVema9BV33Gjn3+xKS1Ql+V+wUH2rKPvMuzU/7Cw\nW1iLZJEEsSvSvaQxoRmmkdQe+8H12lwGibSQlIbTReigAAUSqor2TsnHaNx2\nhQqXA7Afwt40veRi5Q4clYmbtGmdl9tL6llfcBWJzwCQDx4xCob4jtWlohqq\n0lx15BPkZ6x2AsW0a27C2TLfeXjS2myudnqbR+jdJ48onaTgHWKy1jsbDWw9\nojwOScU6xvgBOE7jII9xz9DyeoiBdYF4qX5SrswwTcgFSK2akSz3Nw69qTQy\nt+Rm\r\n=KIof\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"1b790cd205672c870d476fb09192848bc5ea8345","scripts":{"test":"lab -t 100 -a @hapi/code -L"},"_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"deprecated":"Please use @hapi/eslint-plugin-hapi instead.","repository":{"url":"git+https://github.com/hapijs/rule-scope-start.git","type":"git"},"_npmVersion":"6.9.0","description":"ESLint rule to enforce new line at the beginning of function scope","directories":{},"_nodeVersion":"10.15.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"5.x.x","@hapi/lab":"18.x.x","@hapi/code":"5.x.x"},"_npmOperationalInternal":{"tmp":"tmp/rule-scope-start_2.2.0_1556001796523_0.7711869233199056","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-04-23T06:43:16.397Z","modified":"2026-04-07T19:41:10.857Z","2.2.0":"2019-04-23T06:43:16.599Z"},"bugs":{"url":"https://github.com/hapijs/rule-scope-start/issues"},"license":"BSD-3-Clause","homepage":"https://github.com/hapijs/rule-scope-start#readme","keywords":["eslint","hapi","scope"],"repository":{"url":"git+https://github.com/hapijs/rule-scope-start.git","type":"git"},"description":"ESLint rule to enforce new line at the beginning of function scope","maintainers":[{"email":"quitlahok@gmail.com","name":"nlf"},{"email":"devinivy@gmail.com","name":"devinivy"},{"email":"wpreul@gmail.com","name":"wyatt"},{"email":"lloyd.benson@gmail.com","name":"lloydbenson"},{"email":"cjihrig@gmail.com","name":"cjihrig"},{"email":"nicolas@morel.io","name":"marsup"}],"readme":"<a href=\"http://hapijs.com\"><img src=\"https://github.com/hapijs/assets/blob/master/images/family.svg\" width=\"180px\" align=\"right\" /></a>\n\n# rule-scope-start\n\nESLint rule to enforce new line at the beginning of function scope\n\n[![Build Status](https://travis-ci.org/hapijs/rule-scope-start.svg?branch=master)](https://travis-ci.org/hapijs/rule-scope-start)\n\n## Rule Options\n\n### `allow-one-liners`\n\nIf the string `'allow-one-liners'` is passed as the first option to this rule,\nthen functions whose bodies contain zero or one statements are allowed to be\nwritten on a single line. This defaults to `true` for arrow functions, and\n`false` otherwise.\n\n### `max-in-one-liner`\n\nThe second option to this rule dictates the maximum number of statements allowed\nin the bodies of one line function. This must be used in conjunction with\n`allow-one-liners`. Defaults to one.\n","readmeFilename":"README.md"}