{"_id":"@codeutils/eslint-plugin-code-struct","_rev":"6-cf080bed9f620e6844dd7c76ee88d3b8","name":"@codeutils/eslint-plugin-code-struct","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"@codeutils/eslint-plugin-code-struct","version":"0.0.1","description":"Code structuring rules","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["eslint"],"author":{"name":"cssmiles"},"license":"MIT","_id":"@codeutils/eslint-plugin-code-struct@0.0.1","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-FBY9HQ4pKTaW1467YM7EJ3TOMcIyJ8ztcIGgGxnM+2Os7XWo2/aNZ5DsdGd9uEIJZIlKkudZe69oXc7CML0sjA==","shasum":"df7ad9713d56d6e1fe934016141a45c40d899125","tarball":"https://registry.npmjs.org/@codeutils/eslint-plugin-code-struct/-/eslint-plugin-code-struct-0.0.1.tgz","fileCount":4,"unpackedSize":853,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR70DquMbpOvcMJpMqBJ4CP/oPncgq/kAD3kuZt0K+YQIgc14DqTDQYdw2QBxth2kWwpAdsfEcWFvu/nPmZoMdIbA="}]},"_npmUser":{"name":"cssmiles","email":"cssmiles@gmail.com"},"directories":{},"maintainers":[{"name":"cssmiles","email":"cssmiles@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-code-struct_0.0.1_1636141360561_0.3786163261058013"},"_hasShrinkwrap":false},"0.1.0":{"name":"@codeutils/eslint-plugin-code-struct","version":"0.1.0","description":"Code structuring rules","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["eslint"],"author":{"name":"cssmiles"},"license":"MIT","_id":"@codeutils/eslint-plugin-code-struct@0.1.0","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-MfaTJmw82SwYQQba5LXvuULLMiDwJO9gKkuwFgWfLkpnndL+ZqZxDCcyslqStxsSVyf4xdrAFWW5Fc7Q/h7Pmw==","shasum":"f52dd50be99fed982efacdb9fa6e9d1f6d0c5b31","tarball":"https://registry.npmjs.org/@codeutils/eslint-plugin-code-struct/-/eslint-plugin-code-struct-0.1.0.tgz","fileCount":4,"unpackedSize":1246,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmc9yKWugmG3FZWBtC0zhf/s1g3ahgfuz+sPEl/9jGXAiAsosa8fYxHbpR0ohqVD8JGv+8Nsz7Gu7VgYO8ACNXEdQ=="}]},"_npmUser":{"name":"cssmiles","email":"cssmiles@gmail.com"},"directories":{},"maintainers":[{"name":"cssmiles","email":"cssmiles@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-code-struct_0.1.0_1636145041881_0.5131741980636391"},"_hasShrinkwrap":false},"0.2.0":{"name":"@codeutils/eslint-plugin-code-struct","version":"0.2.0","description":"Code structuring rules","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/cssmiles/eslint-code-struct.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["eslint"],"author":{"name":"cssmiles"},"license":"MIT","gitHead":"4aba141f2e0a6c6982276683bcb4179e721dfcbd","bugs":{"url":"https://github.com/cssmiles/eslint-code-struct/issues"},"homepage":"https://github.com/cssmiles/eslint-code-struct#readme","_id":"@codeutils/eslint-plugin-code-struct@0.2.0","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-yOVK4H0xVBkeUIMgAYk3XiScXStlh3FCcAeuFGO3dII9Xs/tRPNwxJ7R5wyEvCiO5U3AFD+DVayE85BZwkrwVg==","shasum":"23595556f4373dbb4db0af2821e41773bdf79e77","tarball":"https://registry.npmjs.org/@codeutils/eslint-plugin-code-struct/-/eslint-plugin-code-struct-0.2.0.tgz","fileCount":6,"unpackedSize":3054,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNn4jU/QXTWW+kETABJPxdpBWg3SfJ6hgj946pDsjIgQIhAKlfaoFIqpq8VT09ss9aiEq6mbjbigeq5tSF4ce1vNXJ"}]},"_npmUser":{"name":"cssmiles","email":"cssmiles@gmail.com"},"directories":{},"maintainers":[{"name":"cssmiles","email":"cssmiles@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-code-struct_0.2.0_1636147582114_0.06272692893947274"},"_hasShrinkwrap":false},"0.2.1":{"name":"@codeutils/eslint-plugin-code-struct","version":"0.2.1","description":"Code structuring rules","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/cssmiles/eslint-code-struct.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["eslint"],"author":{"name":"cssmiles"},"license":"MIT","gitHead":"568b486b4682a8f6052e6a66f15350f3265b6e61","bugs":{"url":"https://github.com/cssmiles/eslint-code-struct/issues"},"homepage":"https://github.com/cssmiles/eslint-code-struct#readme","_id":"@codeutils/eslint-plugin-code-struct@0.2.1","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-7aK/tJh+/3a3+uGmpjh0n/B9cMgt5mvQ19C7wfZDeRfLHbhcWQHtXGXmVlGyL84saN0bEdY8gZ7vECcwb3lhLQ==","shasum":"9649488adc34a112b200aa2d9e031fdf790f2749","tarball":"https://registry.npmjs.org/@codeutils/eslint-plugin-code-struct/-/eslint-plugin-code-struct-0.2.1.tgz","fileCount":6,"unpackedSize":3049,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCN7ar9klkvTQTJpISC9BsMm0FvDENKThszxO+YiWdQHgIhALZRzKJYw22NXwaWDJwPA71OLPZYdE0znbPMD2XhCtTZ"}]},"_npmUser":{"name":"cssmiles","email":"cssmiles@gmail.com"},"directories":{},"maintainers":[{"name":"cssmiles","email":"cssmiles@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-code-struct_0.2.1_1636160591034_0.4774195063544011"},"_hasShrinkwrap":false},"1.0.1":{"name":"@codeutils/eslint-plugin-code-struct","version":"1.0.1","description":"Eslint Plugins for improving code quality","keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"csp"},"main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/cssmiles/eslint-code-struct.git"},"scripts":{"lint":"eslint .","test":"mocha tests --recursive"},"dependencies":{"requireindex":"^1.2.0"},"devDependencies":{"eslint":"^8.0.1","eslint-plugin-eslint-plugin":"^4.0.1","eslint-plugin-node":"^11.1.0","mocha":"^9.1.3"},"engines":{"node":"12.x || 14.x || >= 16"},"peerDependencies":{"eslint":">=6"},"license":"MIT","gitHead":"83e4040cd64466f7bc292baf95519cf92366f422","bugs":{"url":"https://github.com/cssmiles/eslint-code-struct/issues"},"homepage":"https://github.com/cssmiles/eslint-code-struct#readme","_id":"@codeutils/eslint-plugin-code-struct@1.0.1","_nodeVersion":"14.15.5","_npmVersion":"6.14.11","dist":{"integrity":"sha512-7/t96dsBWyqHuUh5sWIfV1McjLiFD0DiSzpa7V0FLVQrlnDSyiAjXQMLNOymXJjkNUyzapUe79Rpnpn9AEROlw==","shasum":"89e08822972a95cd2547859de64baabb9226a535","tarball":"https://registry.npmjs.org/@codeutils/eslint-plugin-code-struct/-/eslint-plugin-code-struct-1.0.1.tgz","fileCount":9,"unpackedSize":7745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzdNkCRA9TVsSAnZWagAAmVoP/RAsbxBPvZ5Uk1pZUUBx\nLH+ZZEMQ5cM5WUrg9K7/w/uRNq0shf0P2WDZtuqHZrbUMjGTYaCnd5kE+bhq\nAFMzuw6FmPUXrhViTzz4KiKBx5bL0rdvYVfl++BL3uytnUj0HoESgciqYsIL\nKbQu3Z7x9X8KcrJEf0sBvGDd23yi9XGh3xZKW/5xkBdDjQMPV7Czs95cUfhe\nsNkhIQt+7DD3V0V8/24p1MxXIjbAH73efWdJ0nN2yYMXVBTtAAfUx9PLJtxl\n/kASNFwhxngryU69WNrHBR3t53uMrGf4UGt9wAPbJIUEiQEX/Xmuaokt6VxD\nhOqEv9B7Kpv6yagB45u3cW+8GNIiVNYa+nqVgVTzQiI3oU5TMFEJWQfYmXso\njpN5ivBvKYs6szB4igldcAryRERWbcSTqqY8OtIU/hm5y5E5EKpf7OF7WWyZ\nAPeHDIq2dW88/YU7KeMdfyc4OlPXYccjUKa5ft6S9MIUMsFDF6GkSkr/rdUM\nQz4G7RZm7j/O1kf1cTJr5UK/6H9+WZ0s09kj5QcZLzUjDpQnUQItkFrJnudi\n9Q6iJWZtVkf5crY/7rl6Ah4wO6Pla020bkJnZxANV3FY+jn8dqCfDlDAPDjK\nfStbR0MzWtLEYf3DYHzNEgj+U/OBo23E4do03aG8FPKb+kEdTBKb9H4LMpP4\nZd8c\r\n=D3lM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9GfInUYfyCpuZCQ2792Ps2/KnBLKIoqLlz4SIXx3pyAIhAMoiACNIFCzkgXugGplEct5xJ5B97H2RkN/uYaDs5vzR"}]},"_npmUser":{"name":"cssmiles","email":"cssmiles@gmail.com"},"directories":{},"maintainers":[{"name":"cssmiles","email":"cssmiles@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin-code-struct_1.0.1_1636395372730_0.5181689245280705"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-05T19:42:40.496Z","0.0.1":"2021-11-05T19:42:40.722Z","modified":"2022-04-05T00:07:15.106Z","0.1.0":"2021-11-05T20:44:02.022Z","0.2.0":"2021-11-05T21:26:22.246Z","0.2.1":"2021-11-06T01:03:11.202Z","1.0.1":"2021-11-08T18:16:12.872Z"},"maintainers":[{"name":"cssmiles","email":"cssmiles@gmail.com"}],"description":"Eslint Plugins for improving code quality","keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"csp"},"license":"MIT","readme":"# eslint-plugin-code-struct\n\n## Installation\n\nYou'll first need to install [ESLint](https://eslint.org/):\n\n```sh\nnpm i eslint --save-dev\n```\n\n```sh\n$ npm i @codeutils/eslint-plugin-code-struct\n```\n\n## Usage\n\n#### code-struct/no-regex\n\nDisallow using regular expression in the code. Typical use case if to have all regex defined in a single file and disable the rule or have all regex in an external library.  \nTo disable the rule for file - `/*eslint-disable code-struct/no-regex*/`.\n\nInstall `eslint-plugin-no-regex`:\n\n```sh\nnpm i eslint-plugin-no-regex --save-dev\n```\n\nAdd `no-regex` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix.\nExample eslint configs:\n\n```json\n{\n  \"parser\": \"babel-eslint\",\n  \"env\": {\n    \"es6\": true,\n    \"node\": true\n  },\n  \"rules\": {\n    \"@codeutils/code-struct/no-regex\": [\n      \"warn\",\n      { \"customMessage\": \"All regex should be kept in src/util/regex.js\" }\n    ]\n  },\n  \"plugins\": [\"@codeutils/code-struct\"]\n}\n\n//For TypeScript\n\n{\n  \"parser\": \"@typescript-eslint/parser\",\n   \"rules\": {\n    \"@codeutils/code-struct/no-regex\": [\n      \"warn\",\n      { \"customMessage\": \"All regex should be kept in src/util/regex.js\" }\n    ]\n   },\n  \"plugins\": [\"@typescript-eslint\", \"@codeutils/code-struct\"],\n  \"extends\": [\"eslint:recommended\", \"plugin:@typescript-eslint/recommended\"]\n}\n\n\n```\n","readmeFilename":"README.md","homepage":"https://github.com/cssmiles/eslint-code-struct#readme","repository":{"type":"git","url":"git+https://github.com/cssmiles/eslint-code-struct.git"},"bugs":{"url":"https://github.com/cssmiles/eslint-code-struct/issues"}}