@shaaditech/eslint-plugin-shaadireact
A collection of linter rules specific to the shaadi.com's react architecture.
Rules
- shaaditech/controller-import Rule to make check if your action or component is importing the right controller for calling api.(get|post|put|patch|delete).
For example, it will show an error if you call api.get('/profile/:id', () => {})
but you either dont import any controllers or if the controllers you imported dont have get /profile/:id
route registered i.e. Router.get('/profile/:id', controller)
.