@isentinel/eslint-config 5.0.1 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -0
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -140,6 +140,7 @@ function isInGitHooksOrLintStaged() {
140
140
  return [process.env["GIT_PARAMS"] ?? process.env["VSCODE_GIT_COMMAND"] ?? process.env["npm_lifecycle_script"]?.startsWith("lint-staged")].some(Boolean);
141
141
  }
142
142
  function isInAgentSession() {
143
+ if (isInGitHooksOrLintStaged()) return false;
143
144
  return [
144
145
  process.env["CLAUDECODE"],
145
146
  process.env["CLAUDE_CODE_ENTRYPOINT"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isentinel/eslint-config",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "iSentinel's ESLint config",
5
5
  "keywords": [
6
6
  "eslint-config",
@@ -122,7 +122,7 @@
122
122
  "type-fest": "5.4.4",
123
123
  "typescript": "5.9.3",
124
124
  "unplugin-unused": "0.5.7",
125
- "@isentinel/eslint-config": "5.0.1"
125
+ "@isentinel/eslint-config": "5.0.2"
126
126
  },
127
127
  "peerDependencies": {
128
128
  "@vitest/eslint-plugin": "^1.6.4",