refactor(web): eslint glob pattern (#2309)

The current eslint glob pattern is not Windows friendly, this change works for both Linux and Windows.
This commit is contained in:
Amir Zarrinkafsh 2021-08-22 21:16:19 +10:00 committed by GitHub
parent af9274a9c6
commit 0c5c85cbe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@
"scripts": {
"start": "craco start",
"build": "craco build",
"lint": "eslint '*/**/*.{js,ts,tsx}' --fix",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"coverage": "COVERAGE=true craco build",
"test": "craco test --coverage --no-cache",
"report": "nyc report -r clover -r json -r lcov -r text",