Closed Bhavesh27 closed 4 years ago
@Bhavesh27 looks perfect, can you add a command, in package.json 's scripts - yarn lint; for eslint src/*.js --fix
yarn lint
eslint src/*.js --fix
This PR will create a bit of a mess, every other line seems to be changed by linter. Please change the linter configuration for no-semi colon and single quotes.
Then we'll be good to merge.
I think you should use 'semi': ['error', 'never'], in .eslintrc.js to remove the semi-colons instead of removing the rule. Souce.
'semi': ['error', 'never'],
.eslintrc.js
@Bhavesh27 looks perfect, can you add a command, in package.json 's scripts -
yarn lint
; foreslint src/*.js --fix