@prowise/eslint-config-linting-rules 3.0.1 → 3.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.
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@prowise/eslint-config-linting-rules","version":"3.0.1","description":"Default Prowise linting rules for npm packages.","main":"index.js","type":"module","exports":{"./typescript":"./typescript.js","./backend":"./backend.js","./front-react":"./front-react.js","./front-solid":"./front-solid.js","./next":"./next.js"},"scripts":{"lint":"eslint","test":"node tests/*.test.js","inspect":"eslint --inspect-config"},"repository":{"type":"git","url":"git+ssh://git@bitbucket.org/prowise/npm-linting-rules.git"},"author":"Prowise B.V.","license":"UNLICENSED","homepage":"https://bitbucket.org/prowise/npm-linting-rules#readme","dependencies":{"@eslint-react/eslint-plugin":"^5.10.1","@htmlacademy/eslint-plugin-jsx-a11y":"^6.11.0","@next/eslint-plugin-next":"^16.2.10","@stylistic/eslint-plugin":"^5.10.0","@vitest/eslint-plugin":"^1.6.20","confusing-browser-globals":"^1.0.11","eslint":"^10.6.0","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-import-x":"^4.17.1","eslint-plugin-jsdoc":"^63.0.10","eslint-plugin-n":"^18.2.1","eslint-plugin-prefer-arrow-functions":"^3.9.1","globals":"^17.7.0","nanospinner":"^1.2.2","typescript-eslint":"^8.62.1"},"devDependencies":{"@eslint/config-inspector":"^3.0.4"}}
1
+ {"name":"@prowise/eslint-config-linting-rules","version":"3.0.2","description":"Default Prowise linting rules for npm packages.","main":"index.js","type":"module","exports":{"./typescript":"./typescript.js","./backend":"./backend.js","./front-react":"./front-react.js","./front-solid":"./front-solid.js","./next":"./next.js"},"scripts":{"lint":"eslint","test":"node tests/*.test.js","inspect":"eslint --inspect-config"},"repository":{"type":"git","url":"git+ssh://git@bitbucket.org/prowise/npm-linting-rules.git"},"author":"Prowise B.V.","license":"UNLICENSED","homepage":"https://bitbucket.org/prowise/npm-linting-rules#readme","dependencies":{"@eslint-react/eslint-plugin":"^5.10.4","@htmlacademy/eslint-plugin-jsx-a11y":"^6.11.0","@next/eslint-plugin-next":"^16.2.10","@stylistic/eslint-plugin":"^5.10.0","@vitest/eslint-plugin":"^1.6.21","confusing-browser-globals":"^1.0.11","eslint":"^10.6.0","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-import-x":"^4.17.1","eslint-plugin-jsdoc":"^63.0.11","eslint-plugin-n":"^18.2.1","eslint-plugin-prefer-arrow-functions":"^3.10.1","globals":"^17.7.0","nanospinner":"^1.2.2","typescript-eslint":"^8.62.1"},"devDependencies":{"@eslint/config-inspector":"^3.0.4"}}
@@ -242,8 +242,9 @@ export default {
242
242
  /**
243
243
  * Enforce valid expect() usage ✅
244
244
  * https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
245
+ * Turned off: gives false positives on expect.any(....) which is very valid!!
245
246
  */
246
- "vitest/valid-expect": ["error", { alwaysAwait: true, asyncMatchers: ["toBeResolved", "toBeRejected"] }],
247
+ "vitest/valid-expect": ["off", { alwaysAwait: true, asyncMatchers: ["toBeResolved", "toBeRejected"] }],
247
248
 
248
249
  /**
249
250
  * Enforce valid titles ✅ 🔧