Skip to content

Commit

Permalink
chore: update .eslintrc.json and lint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoAnastasiadis committed Feb 8, 2024
1 parent 8d8dbbf commit 3aaa12c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@
},
"overrides": [
{
"files": ["src/server/**"],
"files": ["src/server/**", "test/server/**"],
"parserOptions": {
"project": "tsconfig.json"
}
},
{
"files": ["src/client/**"],
"parserOptions": { "project": "src/client/tsconfig.json" }
}
]
}
2 changes: 1 addition & 1 deletion bin/lint.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#! /bin/bash
npx eslint \"src/**\" --fix --ignore-path .gitignore
npx eslint --fix --ignore-path .gitignore

0 comments on commit 3aaa12c

Please sign in to comment.