@prowise/eslint-config-linting-rules 0.0.11 → 0.0.12
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":"0.0.
|
|
1
|
+
{"name":"@prowise/eslint-config-linting-rules","version":"0.0.12","description":"Default Prowise linting rules for npm packages.","main":"index.js","exports":{"./typescript":"./typescript.js","./backend":"./backend.js","./frontend":"./frontend.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":"^5.36.2","@typescript-eslint/parser":"^5.36.2","confusing-browser-globals":"^1.0.11","eslint":"^8.24.0","eslint-import-resolver-typescript":"^3.5.1","eslint-plugin-import":"^2.26.0","eslint-plugin-jest":"^27.0.1","eslint-plugin-jsdoc":"^39.3.6","eslint-plugin-node":"^11.1.0","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.31.7","eslint-plugin-react-hooks":"^4.6.0","object.assign":"^4.1.4","prettier":"^2.7.1"}}
|
package/src/rules/base-rules.js
CHANGED
|
@@ -1889,7 +1889,7 @@ module.exports = {
|
|
|
1889
1889
|
* Require immediate function invocation to be wrapped in parentheses 🔧
|
|
1890
1890
|
* https://eslint.org/docs/latest/rules/wrap-iife.
|
|
1891
1891
|
*/
|
|
1892
|
-
"wrap-iife": ["error", "
|
|
1892
|
+
"wrap-iife": ["error", "inside", { functionPrototypeMethods: false }],
|
|
1893
1893
|
|
|
1894
1894
|
/**
|
|
1895
1895
|
* Require regex literals to be wrapped in parentheses 🔧
|
|
@@ -757,9 +757,9 @@ module.exports = {
|
|
|
757
757
|
assignment: "parens-new-line",
|
|
758
758
|
return: "parens-new-line",
|
|
759
759
|
arrow: "parens-new-line",
|
|
760
|
-
condition: "
|
|
761
|
-
logical: "
|
|
762
|
-
prop: "
|
|
760
|
+
condition: "ignore",
|
|
761
|
+
logical: "ignore",
|
|
762
|
+
prop: "ignore",
|
|
763
763
|
},
|
|
764
764
|
],
|
|
765
765
|
},
|