Skip to content

Commit

Permalink
Lint rule to prevent node in common and engine (#2523)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson authored Jul 18, 2024
1 parent 880e369 commit 12a2891
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/common/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"overrides": [
{
"files": ["*.ts"],
"excludedFiles": ["*.test.ts"],
"rules": {
"import/no-nodejs-modules": "error"
}
}
]
}
11 changes: 11 additions & 0 deletions packages/cursorless-engine/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"overrides": [
{
"files": ["*.ts"],
"excludedFiles": ["src/scripts/**", "src/testUtil/**", "*.test.ts"],
"rules": {
"import/no-nodejs-modules": "error"
}
}
]
}

0 comments on commit 12a2891

Please sign in to comment.