Run lint only in src directory
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
"clean": "rimraf dist",
|
||||
"format": "prettier --write '**/*.ts'",
|
||||
"format-check": "prettier --check '**/*.ts'",
|
||||
"lint": "eslint **/*.ts",
|
||||
"lint-fix": "eslint --fix **/*.ts",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"lint-fix": "eslint --fix src/**/*.ts",
|
||||
"prepublishOnly": "npm run build && npm run test",
|
||||
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
|
||||
"test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch",
|
||||
|
||||
Reference in New Issue
Block a user