SAP / ui5-linter

A static code analysis tool for UI5
Apache License 2.0
47 stars 4 forks source link

refactor(messages): Drop 'ui5-linter-' prefix from rule names #310

Closed RandomByte closed 2 weeks ago

RandomByte commented 2 weeks ago

The rules are currently not really visible to the end user. But once we add features like // ui5lint-disable comments, // ui5lint-disable ui5-linter-no-deprecated-api seems quite redundant and inconsistent.

We initially thought a prefix would be helpful for later integration with eslint. However, eslint will prefix rules exposed by plugins with the plugin name anyways, so it would become @ui5/linter/no-deprecated-api anyways.