EventCalendar icon indicating copy to clipboard operation
EventCalendar copied to clipboard

added prettier,husky and lint-staged.

Open rahulkhattri0 opened this issue 3 years ago • 8 comments

image

rahulkhattri0 avatar Nov 18 '21 11:11 rahulkhattri0

removed eslint config from package.json

rahulkhattri0 avatar Nov 18 '21 16:11 rahulkhattri0

ok ill remove lint staged

rahulkhattri0 avatar Nov 19 '21 05:11 rahulkhattri0

please tell me how to install "lint" package locally

rahulkhattri0 avatar Nov 19 '21 05:11 rahulkhattri0

please tell me how to install "lint" package locally

it is a npm-script in package.json which basically runs eslint

gptkrsh avatar Nov 19 '21 10:11 gptkrsh

should i just setup husky?

rahulkhattri0 avatar Nov 19 '21 10:11 rahulkhattri0

and you can run eslint using lint staged too

rahulkhattri0 avatar Nov 19 '21 10:11 rahulkhattri0

should i just setup husky?

Yeah that would work too...

gptkrsh avatar Nov 19 '21 10:11 gptkrsh

ok so ill just setup husky with a pre commit hook and the person who has been assigned to setup eslint can add lint.

rahulkhattri0 avatar Nov 19 '21 10:11 rahulkhattri0