@prowise/eslint-config-linting-rules 1.2.1 → 1.2.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/frontend.js +4 -1
- package/package.json +1 -1
- package/rules/test-rules.js +2 -2
package/frontend.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@prowise/eslint-config-linting-rules","version":"1.2.
|
|
1
|
+
{"name":"@prowise/eslint-config-linting-rules","version":"1.2.2","description":"Default Prowise linting rules for npm packages.","main":"index.js","exports":{"./default":"./index.js","./typescript":"./typescript.js","./backend":"./backend.js","./frontend":"./frontend.js","./solid":"./solid.js"},"scripts":{"lint":"eslint **/*.js"},"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":{"@typescript-eslint/eslint-plugin":"^6.19.0","@typescript-eslint/parser":"^6.19.0","confusing-browser-globals":"^1.0.11","eslint":"^8.56.0","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-import":"^2.29.1","eslint-plugin-jest":"^27.6.3","eslint-plugin-jsdoc":"^48.0.2","eslint-plugin-node":"^11.1.0","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-require-extensions":"^0.1.3","eslint-plugin-solid":"^0.13.1","eslint-plugin-vitest":"^0.3.20","object.assign":"^4.1.5"},"overrides":{"semver":"^7.5.3"}}
|
package/rules/test-rules.js
CHANGED
|
@@ -357,7 +357,7 @@ module.exports = {
|
|
|
357
357
|
* Disallow using exports in files containing tests ✅
|
|
358
358
|
* https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-export.md
|
|
359
359
|
*/
|
|
360
|
-
"no-export": "error",
|
|
360
|
+
"jest/no-export": "error",
|
|
361
361
|
|
|
362
362
|
/**
|
|
363
363
|
* Disallow Jasmine globals ✅ 🔧
|
|
@@ -381,7 +381,7 @@ module.exports = {
|
|
|
381
381
|
* Require promises that have expectations in their chain to be valid ✅
|
|
382
382
|
* https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
383
383
|
*/
|
|
384
|
-
"valid-expect-in-promise": "error",
|
|
384
|
+
"jest/valid-expect-in-promise": "error",
|
|
385
385
|
|
|
386
386
|
},
|
|
387
387
|
|