Skip to content

Commit

Permalink
fix(dependencies): updated lint rules to exclude test files
Browse files Browse the repository at this point in the history
  • Loading branch information
lexasq committed Jul 17, 2024
1 parent 478ff76 commit f879a2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@
"plugin:@nx/javascript"
],
"rules": {}
},
{
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": "error"
}
}
]
}
7 changes: 6 additions & 1 deletion libs/ng2-file-upload/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": "error"
"@nx/dependency-checks": [
"error",
{
"ignoredFiles": ["**/*.spec.ts", "**/test-setup.ts"]
}
]
}
},
{
Expand Down

0 comments on commit f879a2a

Please sign in to comment.