@prowise/eslint-config-linting-rules 0.0.10 → 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.10","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"}}
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"}}
@@ -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", "outside", { functionPrototypeMethods: false }],
1892
+ "wrap-iife": ["error", "inside", { functionPrototypeMethods: false }],
1893
1893
 
1894
1894
  /**
1895
1895
  * Require regex literals to be wrapped in parentheses 🔧
@@ -301,7 +301,7 @@ module.exports = {
301
301
  * Disallow creating unstable components inside components
302
302
  * https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unstable-nested-components.md.
303
303
  */
304
- "react/no-unstable-nested-components": ["error", { allowProps: true }],
304
+ "react/no-unstable-nested-components": ["error", { allowAsProps: true }],
305
305
 
306
306
  /**
307
307
  * Disallow declaring unused methods of component class
@@ -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: "parens-new-line",
761
- logical: "parens-new-line",
762
- prop: "parens-new-line",
760
+ condition: "ignore",
761
+ logical: "ignore",
762
+ prop: "ignore",
763
763
  },
764
764
  ],
765
765
  },