Skip to content

Commit

Permalink
fix(root): no more eslint on pre-commit (#5905)
Browse files Browse the repository at this point in the history
* fix: no more eslint

* fix: stop only for e2e tests
  • Loading branch information
scopsy authored Jul 1, 2024
1 parent e2b9a58 commit 3049225
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 47 deletions.
5 changes: 0 additions & 5 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,5 @@
"@novu/ee-echo-api": "workspace:*",
"@novu/ee-shared-services": "workspace:*",
"@novu/ee-translation": "workspace:*"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
]
}
}
5 changes: 0 additions & 5 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,6 @@
"last 1 safari version"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
]
},
"eslintConfig": {
"overrides": [
{
Expand Down
5 changes: 0 additions & 5 deletions apps/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,5 @@
"**/@babel",
"**/@babel/**"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
]
}
}
5 changes: 0 additions & 5 deletions apps/worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,5 @@
"@novu/ee-echo-worker": "workspace:*",
"@novu/ee-shared-services": "workspace:*",
"@novu/ee-translation": "workspace:*"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
]
}
}
5 changes: 0 additions & 5 deletions enterprise/packages/libs/dal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,5 @@
},
"peerDependencies": {
"@nestjs/common": "10.2.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
]
}
}
5 changes: 0 additions & 5 deletions libs/dal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,5 @@
"typescript": "4.9.5",
"rimraf": "^3.0.2",
"supertest": "^5.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
]
}
}
3 changes: 0 additions & 3 deletions libs/embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
],
"{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
"prettier --ignore-path .eslintignore --parser json --write"
],
Expand Down
5 changes: 0 additions & 5 deletions libs/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,5 @@
"ts-node": "~10.9.1",
"tsconfig-paths": "~4.1.0",
"typescript": "4.9.5"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint"
]
}
}
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,20 +183,17 @@
}
},
"lint-staged": {
"apps/**/*.{ts,tsx,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint",
"*.{e2e,e2e-ee,spec}.{js,ts}": [
"stop-only --file"
],
"apps/**/*.{ts,tsx,json}": [
"prettier --ignore-path ./.prettierignore --write"
],
"packages/**/*.{ts,tsx,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint",
"stop-only --file"
"prettier --ignore-path ./.prettierignore --write"
],
"libs/**/*.{ts,js,json}": [
"prettier --ignore-path ./.prettierignore --write",
"eslint",
"stop-only --file"
"prettier --ignore-path ./.prettierignore --write"
]
},
"engines": {
Expand Down

0 comments on commit 3049225

Please sign in to comment.