@moso/eslint-config 3.6.1 → 3.6.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.
package/dist/index.mjs CHANGED
@@ -1320,7 +1320,7 @@ const ruleNoUnneededArrayFlatMap = createRule({
1320
1320
  } })
1321
1321
  });
1322
1322
  // src/rules/package.json
1323
- var version = "3.6.1";
1323
+ var version = "3.6.2";
1324
1324
  // src/rules/prefer-early-return/prefer-early-return.ts
1325
1325
  const isTriggering = (node, maximumStatements) => {
1326
1326
  if (node.type !== AST_NODE_TYPES.IfStatement || node.alternate !== null) return false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moso/eslint-config",
3
3
  "type": "module",
4
- "version": "3.6.1",
4
+ "version": "3.6.2",
5
5
  "description": "@moso's sharable ESLint config",
6
6
  "author": {
7
7
  "name": "Morten Sørensen",
@@ -58,11 +58,11 @@
58
58
  "build:inspector": "bun run build && bunx @eslint/config-inspector build --stats --config eslint-inspector.config.ts --out-dir ./.eslint-config-inspector",
59
59
  "dev": "bunx @eslint/config-inspector --config eslint-inspector.config.ts",
60
60
  "lint": "eslint",
61
- "preinstall": "bun scripts/bun-version.ts",
62
61
  "prepack": "bun run build",
63
- "prepare": "bun run simple-git-hooks",
62
+ "prepare": "bun scripts/bun-version.ts && bun run simple-git-hooks",
64
63
  "release": "bumpp --recursive && bun publish",
65
64
  "test": "vitest run",
65
+ "test:coverage": "bun run test --coverage",
66
66
  "test:update-snapshots": "bun run test --update",
67
67
  "typecheck": "tsc --noEmit",
68
68
  "typegen": "tsx scripts/typegen.ts",
@@ -163,7 +163,7 @@
163
163
  "eslint-plugin-regexp": "^3.3.1",
164
164
  "eslint-plugin-security": "^4.2.0",
165
165
  "eslint-plugin-toml": "^1.5.0",
166
- "eslint-plugin-unicorn": "^78.0.0",
166
+ "eslint-plugin-unicorn": "^79.0.0",
167
167
  "eslint-plugin-unused-imports": "^4.4.1",
168
168
  "eslint-plugin-yml": "^3.9.0",
169
169
  "eslint-processor-vue-blocks": "^2.0.0",
@@ -175,11 +175,11 @@
175
175
  "yaml-eslint-parser": "^2.1.0"
176
176
  },
177
177
  "devDependencies": {
178
- "@eslint-react/eslint-plugin": "^5.28.7",
178
+ "@eslint-react/eslint-plugin": "^5.28.8",
179
179
  "@eslint/compat": "^2.1.1",
180
180
  "@eslint/config-inspector": "^3.5.0",
181
- "@moso/eslint-plugin": "3.6.1",
182
- "@next/eslint-plugin-next": "^16.4.2",
181
+ "@moso/eslint-plugin": "3.6.2",
182
+ "@next/eslint-plugin-next": "^16.4.3",
183
183
  "@socketsecurity/bun-security-scanner": "^1.1.3",
184
184
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
185
185
  "@types/bun": "^1.4.4",