@rebeccastevens/eslint-config 1.3.19 → 1.3.20
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/CHANGELOG.md +8 -0
- package/dist/modern.cjs +4 -7
- package/dist/modern.mjs +4 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
3
3
|
|
|
4
|
+
## [1.3.20](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.19...v1.3.20) (2022-04-17)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* allow plusplus ([4fd2635](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/4fd2635cdaabb866ecd8d6b1abe85aeb3207b7be))
|
|
10
|
+
* loosen promise rules ([517b196](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/517b19684057561d21dc846d896f6260056e1915))
|
|
11
|
+
|
|
4
12
|
## [1.3.19](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.18...v1.3.19) (2022-04-13)
|
|
5
13
|
|
|
6
14
|
|
package/dist/modern.cjs
CHANGED
|
@@ -413,12 +413,7 @@ const rules$2 = {
|
|
|
413
413
|
"no-negated-condition": "off",
|
|
414
414
|
"no-nested-ternary": "off",
|
|
415
415
|
"no-new-object": "error",
|
|
416
|
-
"no-plusplus":
|
|
417
|
-
"error",
|
|
418
|
-
{
|
|
419
|
-
allowForLoopAfterthoughts: true,
|
|
420
|
-
},
|
|
421
|
-
],
|
|
416
|
+
"no-plusplus": "off",
|
|
422
417
|
"no-restricted-syntax": [
|
|
423
418
|
"error",
|
|
424
419
|
{
|
|
@@ -976,11 +971,13 @@ const settings$2 = {
|
|
|
976
971
|
plugins: ["promise"],
|
|
977
972
|
extends: ["plugin:promise/recommended"],
|
|
978
973
|
rules: {
|
|
974
|
+
"promise/always-return": "off",
|
|
979
975
|
"promise/avoid-new": "warn",
|
|
976
|
+
"promise/catch-or-return": "off",
|
|
980
977
|
"promise/no-nesting": "error",
|
|
981
978
|
"promise/no-promise-in-callback": "error",
|
|
982
979
|
"promise/no-return-in-finally": "error",
|
|
983
|
-
"promise/prefer-await-to-callbacks": "
|
|
980
|
+
"promise/prefer-await-to-callbacks": "off",
|
|
984
981
|
"promise/prefer-await-to-then": "off",
|
|
985
982
|
"promise/valid-params": "error",
|
|
986
983
|
},
|
package/dist/modern.mjs
CHANGED
|
@@ -411,12 +411,7 @@ const rules$2 = {
|
|
|
411
411
|
"no-negated-condition": "off",
|
|
412
412
|
"no-nested-ternary": "off",
|
|
413
413
|
"no-new-object": "error",
|
|
414
|
-
"no-plusplus":
|
|
415
|
-
"error",
|
|
416
|
-
{
|
|
417
|
-
allowForLoopAfterthoughts: true,
|
|
418
|
-
},
|
|
419
|
-
],
|
|
414
|
+
"no-plusplus": "off",
|
|
420
415
|
"no-restricted-syntax": [
|
|
421
416
|
"error",
|
|
422
417
|
{
|
|
@@ -974,11 +969,13 @@ const settings$2 = {
|
|
|
974
969
|
plugins: ["promise"],
|
|
975
970
|
extends: ["plugin:promise/recommended"],
|
|
976
971
|
rules: {
|
|
972
|
+
"promise/always-return": "off",
|
|
977
973
|
"promise/avoid-new": "warn",
|
|
974
|
+
"promise/catch-or-return": "off",
|
|
978
975
|
"promise/no-nesting": "error",
|
|
979
976
|
"promise/no-promise-in-callback": "error",
|
|
980
977
|
"promise/no-return-in-finally": "error",
|
|
981
|
-
"promise/prefer-await-to-callbacks": "
|
|
978
|
+
"promise/prefer-await-to-callbacks": "off",
|
|
982
979
|
"promise/prefer-await-to-then": "off",
|
|
983
980
|
"promise/valid-params": "error",
|
|
984
981
|
},
|