@prowise/eslint-config-linting-rules 3.0.0 → 3.0.1

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.0","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.0","@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.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"}}
@@ -175,7 +175,7 @@ export default {
175
175
  * Disallow await inside of loops
176
176
  * https://eslint.org/docs/latest/rules/no-await-in-loop.
177
177
  */
178
- "no-await-in-loop": "warn",
178
+ "no-await-in-loop": "off",
179
179
 
180
180
  /**
181
181
  * Disallow use of bitwise operators
@@ -184,7 +184,7 @@ export default {
184
184
  * Enforce props indentation in JSX 🔧
185
185
  * https://eslint.style/rules/jsx-indent-props
186
186
  */
187
- "style/jsx-indent-props": ["error", 4],
187
+ "style/jsx-indent-props": ["error", { indentMode: 4, ignoreTernaryOperator: true }],
188
188
 
189
189
  /**
190
190
  * Enforce maximum of props on a single line in JSX 🔧
@@ -281,7 +281,7 @@ export default {
281
281
  "style/max-len": [
282
282
  "error",
283
283
  {
284
- code: 120,
284
+ code: 160,
285
285
  tabWidth: 4,
286
286
  ignoreUrls: true,
287
287
  ignoreComments: true,
@@ -577,8 +577,9 @@ export default {
577
577
  /**
578
578
  * Require regex literals to be wrapped in parentheses 🔧
579
579
  * https://eslint.style/rules/wrap-regex.
580
+ * DO NOT turn on: it breaks code!
580
581
  */
581
- "style/wrap-regex": "error",
582
+ "style/wrap-regex": "off",
582
583
 
583
584
  /**
584
585
  * Enforce spacing around the * in yield* expressions 🔧