hapipal / boilerplate

A friendly, proven starting place for your next hapi plugin or deployment
https://hapipal.com
183 stars 27 forks source link

Ensure class fields can be linted successfully #84

Closed devinivy closed 4 years ago

devinivy commented 4 years ago

Lab has made some changes to its linting strategy in order to support ecma syntax available in node v12, e.g. class fields, and we should make comparable fixes to the the default eslintrc used by the boilerplate. Here is the relevant fix in lab https://github.com/hapijs/lab/commit/9d925d4b61597ff410ed91f9abe615389ef775a1#

devinivy commented 4 years ago

Resolved by #87