@shaaditech/eslint-plugin-shaadireact

0.0.0 • Public • Published

@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).

Readme

Keywords

Package Sidebar

Install

npm i @shaaditech/eslint-plugin-shaadireact

Weekly Downloads

1

Version

0.0.0

License

MIT

Unpacked Size

9.59 kB

Total Files

18

Last publish

Collaborators

  • indusoni
  • phenax
  • shaaditechroot