{"_id":"@bud-tools/eslint-plugin","name":"@bud-tools/eslint-plugin","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@bud-tools/eslint-plugin","version":"0.0.1","description":"Custom ESLint rules for developing BudTools extensions and applications","main":"index.js","scripts":{"prepare":"tsc -b"},"dependencies":{"@bud-tools/core":"0.0.1","@bud-tools/ext-scripts":"0.0.1","@bud-tools/re-exports":"0.0.1","js-levenshtein":"^1.1.6"},"gitHead":"3c6a7653b6833b5a31ba514b77c07cf41498b501","_id":"@bud-tools/eslint-plugin@0.0.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-uDe2z6xuNqeSvHWXiG9xfcbk3fJPW6eswHdfFLw5XxP1zU/xaSSZooPA1baNN+ucYc0qwRxCqv4tjL87Sldbmw==","shasum":"9e79070dd4271b8c1b3fa9142f355eb31d33ca41","tarball":"https://registry.npmjs.org/@bud-tools/eslint-plugin/-/eslint-plugin-0.0.1.tgz","fileCount":9,"unpackedSize":21990,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDITwKdn+07LUAhRBwC4bquHILGv1HEQOYB5fcEY1mssAiBJ3wwamSQM2+T77OAu1fS2dKvFuidswsknwqJpqVD+3Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbVl7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKQw//WnljjX/4CzI6T/pQCq7bORbzWAKIgqBt+XghIyyV8eJPRJed\r\ntvHUV9lZSw70OiHZ46gwvuI1BtVOXIN8AOuRiME73sGp4mo0bxzv2IDiuVNR\r\nHdMlDgTjq5JAeDfXgusakz3lYC+LALiAvZ7MT65CHzEpmu4dLRUvK8Q2PRJ5\r\nDmbUM5D+mU20Qr+WuYWQTNlkRZuA5SY2sv+PrdjVpsAzb+YDklhorzmpR4gB\r\ntBGoy/DtUldxPDpfSm2BDwJhDRm3nD8/9RmPy3RU2EpB13VPyvy/NtSq34HO\r\ncrCGc+rxf+IREzvj/8mv7pvY/JFiPon5SOOu8Uojs8cjvEQPtjkU4FKqJsfG\r\nvn1tVskvc8YHvJMUkc43PBNS9wzKtx/gWejobAQ0RKTsQVDtlQCoryVgKihN\r\nnqshl1JnnX+o7WIQLWtunnZhITX3hEtniL8KyrCBHo7FM18pa1XYjs2+J/SK\r\nGPHcltatcNXkrg5KKAgz7dmGmJNjHUeSetZbGpdMtDYEjDqtonH1tiFeoxFp\r\nhNK9sqO0xRcvl6ZXE7m3Peo4ksxY6XZLR07MPiIfzXIFWhLSJPuhUZIqINpL\r\nYkq8BcZn3Jl2CU1EJVltUBIi5Jk9Hs64Z1r2IwZCIC9FvfG4zREKD+XgM/p1\r\nuXEF30czRp5pf/B6913H8RsZGPuhs4IPGb4=\r\n=cdg3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andyrow37","email":"andyrow37@gmail.com"},"directories":{},"maintainers":[{"name":"andyrow37","email":"andyrow37@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-plugin_0.0.1_1668110714803_0.2900351721320622"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-10T20:05:14.728Z","0.0.1":"2022-11-10T20:05:15.031Z","modified":"2022-11-10T20:05:15.207Z"},"maintainers":[{"name":"andyrow37","email":"andyrow37@gmail.com"}],"description":"Custom ESLint rules for developing BudTools extensions and applications","readme":"<div align='center'>\n\n<br />\n\n<img src='https://raw.githubusercontent.com/eclipse-bud-tools/budtools/master/logo/budtools.svg?sanitize=true' alt='bud-tools-ext-logo' width='100px' />\n\n<h2>ECLIPSE THEIA - ESLINT PLUGIN</h2>\n\n<hr />\n\n</div>\n\n## Description\n\nThe `@bud-tools/eslint-plugin` contributes rules useful for Eclipse BudTools development.\nThe plugin helps identify problems during development through static analysis including code quality, potential issues and code smells.\n\n## Rules\n\n### `localization-check`:\n\nThe rule prevents the following localization related issues:\n- incorrect usage of the `nls.localizeByDefault` function by using an incorrect default value.\n- unnecessary call to `nls.localize` which could be replaced by `nls.localizeByDefault`.\n\n### `no-src-import`:\n\nThe rule prevents imports using `/src/` rather than `/lib/` as it causes build failures.\nThe rule helps developers more easily identify the cause of build errors caused by the incorrect import.\n\n#### `runtime-import-check`:\n\nThe rule prevents imports from folders meant for incompatible runtimes.\nThe check enforces the [code organization guidelines](https://github.com/eclipse-bud-tools/budtools/wiki/Code-Organization) of the framework and guards against invalid imports which may cause unforeseen issues downstream.\n\n#### `shared-dependencies`:\n\nThe rule prevents the following:\n- prevents the implicit use of a shared dependency from `@bud-tools/core`.\n- prevents extensions from depending on a shared dependency without re-using it from `@bud-tools/core`.\n\n## Additional Information\n\n- [BudTools - GitHub](https://github.com/eclipse-bud-tools/budtools)\n- [BudTools - Website](https://bud-tools-ide.org/)\n\n## License\n\n-   [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)\n-   [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)\n\n## Trademark\n\n\"BudTools\" is a trademark of the Eclipse Foundation\nhttps://www.eclipse.org/budtools\n","readmeFilename":"README.md"}