mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
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:
parent
af9274a9c6
commit
0c5c85cbe4
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user