debugger icon indicating copy to clipboard operation
debugger copied to clipboard

`yarn run lint` does not work as expected

Open irfanhudda opened this issue 9 years ago • 0 comments

Like @princiya pointed out in #1932 we have some linting errors in javascript files. I ran stylint command and we have errors for that too.

My guess is that we'll need to update these two lines in package.json

"lint-css": "stylelint src/components/*.css",
"lint-js": "eslint src/**/*.js",

I think we need to use something like stylelint src/components/**/*.css for CSS.

On my machine running ./node_modules/.bin/stylelint src/components/**/*.css gives errors. Same with ./node_modules/.bin/eslint src/**/**/*.js

irfanhudda avatar Feb 04 '17 14:02 irfanhudda