fixing lint errors with npm lint prettier