Skip to content

Commit

Permalink
Test husky/eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
camden11 committed Feb 27, 2023
1 parent 71ecfcd commit c968966
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc",
"lint": "eslint . && prettier --list-different src/**/*.ts",
"prettier:write": "prettier --write packages/**/*.{js,json}"
"prettier:write": "prettier --write src/**/*.{js,json}"
},
"lint-staged": {
"**/*.{js,scss,css}": [
"**/*.{js,scss,css,ts}": [
"prettier -l",
"eslint"
]
Expand Down
2 changes: 1 addition & 1 deletion src/test-husky.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function test(str: string): string {
return str;
return `${str}test`;
}

0 comments on commit c968966

Please sign in to comment.