fix eslint command
This commit is contained in:
parent
edc9b377a6
commit
092d863bd2
@ -14,7 +14,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha -r ts-node/register --timeout 30000 --exit src tests/*.test.ts",
|
"test": "mocha -r ts-node/register --timeout 30000 --exit src tests/*.test.ts",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"eslint": "eslint '*/**/*.{js,ts}' --quiet --fix",
|
"eslint": "eslint 'src/*.ts' --quiet --fix",
|
||||||
"prettier:check": "prettier --check . --config .prettierrc",
|
"prettier:check": "prettier --check . --config .prettierrc",
|
||||||
"prettier:fix": "prettier --write . --config .prettierrc",
|
"prettier:fix": "prettier --write . --config .prettierrc",
|
||||||
"lint": "yarn eslint && yarn prettier:check"
|
"lint": "yarn eslint && yarn prettier:check"
|
||||||
|
Loading…
Reference in New Issue
Block a user