Skip to content

Commit a3f17a9

Browse files
committed
Add dependency linting and remove unnecessary peer dependency
1 parent a2ccbbd commit a3f17a9

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

libs/ngx-http-request-state/.eslintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22
"extends": ["../../.eslintrc.json"],
33
"ignorePatterns": ["!**/*"],
44
"overrides": [
5+
{
6+
"files": "package.json",
7+
"parser": "jsonc-eslint-parser",
8+
"rules": {
9+
"@nx/dependency-checks": [
10+
"error",
11+
{
12+
"ignoredDependencies": ["tslib"],
13+
"ignoredFiles": [
14+
"**/jest.config.ts",
15+
"**/test-setup.ts",
16+
"**/*.spec.ts"
17+
]
18+
}
19+
]
20+
}
21+
},
522
{
623
"files": ["*.ts"],
724
"rules": {

libs/ngx-http-request-state/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"version": "3.1.0",
1313
"peerDependencies": {
1414
"rxjs": "^6.2.0 || ^7.4.0",
15-
"@angular/common": "^14.2.10 || ^15.0.1 || ^16.0.0 || ^17.0.0",
16-
"@angular/core": "^14.2.10 || ^15.0.1 || ^16.0.0 || ^17.0.0"
15+
"@angular/common": "^14.2.10 || ^15.0.1 || ^16.0.0 || ^17.0.0"
1716
},
1817
"dependencies": {
1918
"tslib": "^2.3.0"

0 commit comments

Comments
 (0)