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

The current eslint glob pattern is not Windows friendly, this change works for both Linux and Windows.
pull/2314/head
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
1 changed files with 1 additions and 1 deletions

View File

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