ESLint plugin containing hapi style guide rules. This plugin includes the following ESLint rules:
@hapi/rule-capitalize-modules
- Enforces capitalization of imported module variables.@hapi/rule-for-loop
- Enforcesfor
loop iterator variable rules and restricts loop nesting depth.@hapi/rule-scope-start
- Enforces a new line at the beginning of function scope.@hapi/rule-no-arrowception
- Prevents arrow functions that implicitly create additional arrow functions.@hapi/rule-no-var
- Enforces the usage of var declarations only in try-catch scope.