Custom ESLint plugin enforcing project-specific coding standards for RV backend. Version 0.0.4, peer dependency on eslint >=8.0.0. Key differentiator: provides an @AuthorizedFor annotation rule to ensure resolver methods have required role/permission decorators. Limited in scope compared to broader lint plugins, tailored for specific project conventions.
npm install eslint-plugin-rv-lint-rulesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure ESLint to use the plugin and enable the custom rule.
Ensure files are recognized as resolvers (e.g., by filename pattern).
Verify package is installed as 'rv-lint-rules' and extends string matches exactly.
Manually add rule to 'rules' section in ESLint config.
Run 'npm install --save-dev rv-lint-rules' and verify package.json.
Add 'extends: ["rv-lint-rules"]' and 'rules: { "rv-lint-rules/authorized-for-decorator-required": "error" }'.