@prowise/eslint-config-linting-rules 1.0.2 → 1.0.3
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 +1 -1
- package/src/rules/base-rules.js +1 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@prowise/eslint-config-linting-rules","version":"1.0.
|
|
1
|
+
{"name":"@prowise/eslint-config-linting-rules","version":"1.0.3","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.41.0","@typescript-eslint/parser":"^5.41.0","confusing-browser-globals":"^1.0.11","eslint":"^8.26.0","eslint-import-resolver-typescript":"^3.5.2","eslint-plugin-import":"^2.26.0","eslint-plugin-jest":"^27.1.3","eslint-plugin-jsdoc":"^39.3.25","eslint-plugin-node":"^11.1.0","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-react":"^7.31.10","eslint-plugin-react-hooks":"^4.6.0","object.assign":"^4.1.4"}}
|
package/src/rules/base-rules.js
CHANGED
|
@@ -428,7 +428,7 @@ module.exports = {
|
|
|
428
428
|
* Specify curly brace conventions for all control statements 🔧
|
|
429
429
|
* https://eslint.org/docs/latest/rules/curly.
|
|
430
430
|
*/
|
|
431
|
-
curly: ["error", "multi", "consistent"],
|
|
431
|
+
curly: ["error", "multi-line", "consistent"],
|
|
432
432
|
|
|
433
433
|
/**
|
|
434
434
|
* Require default case in switch statements
|