@rebeccastevens/eslint-config 1.3.18 → 1.3.21
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 +22 -0
- package/dist/modern.cjs +6 -9
- package/dist/modern.mjs +6 -9
- package/dist/typescript.cjs +1 -1
- package/dist/typescript.mjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
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.21](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.20...v1.3.21) (2022-05-29)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **import/no-extraneous-dependencies:** support cts and mts extension ([50daeb3](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/50daeb381d64b9a40cb8a5ae6f80b690f10fca68))
|
|
10
|
+
|
|
11
|
+
## [1.3.20](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.19...v1.3.20) (2022-04-17)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* allow plusplus ([4fd2635](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/4fd2635cdaabb866ecd8d6b1abe85aeb3207b7be))
|
|
17
|
+
* loosen promise rules ([517b196](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/517b19684057561d21dc846d896f6260056e1915))
|
|
18
|
+
|
|
19
|
+
## [1.3.19](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.18...v1.3.19) (2022-04-13)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* tweak naming-convention" ([39f4456](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/39f4456cd39e78f09b188d3960c0baa893792b67))
|
|
25
|
+
|
|
4
26
|
## [1.3.18](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.17...v1.3.18) (2022-04-09)
|
|
5
27
|
|
|
6
28
|
|
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
|
{
|
|
@@ -717,14 +712,14 @@ const settings$7 = {
|
|
|
717
712
|
{
|
|
718
713
|
bundledDependencies: false,
|
|
719
714
|
devDependencies: [
|
|
720
|
-
"*.{js,cjs,mjs,ts,jsx,tsx}",
|
|
715
|
+
"*.{js,cjs,mjs,ts,cts,mts,jsx,tsx}",
|
|
721
716
|
"scripts/**",
|
|
722
717
|
"spec/**",
|
|
723
718
|
"test/**",
|
|
724
719
|
"tests/**",
|
|
725
720
|
"**/__mocks__/**",
|
|
726
721
|
"**/__tests__/**",
|
|
727
|
-
"**/*{.,_}{test,spec}.{js,cjs,mjs,ts,jsx,tsx}",
|
|
722
|
+
"**/*{.,_}{test,spec}.{js,cjs,mjs,ts,cts,mts,jsx,tsx}",
|
|
728
723
|
"**/Gruntfile{,.{js,cjs,mjs,ts}}",
|
|
729
724
|
"**/gulpfile.{js,cjs,mjs,ts}",
|
|
730
725
|
"**/gulpfile.*.{js,cjs,mjs,ts}",
|
|
@@ -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
|
{
|
|
@@ -715,14 +710,14 @@ const settings$7 = {
|
|
|
715
710
|
{
|
|
716
711
|
bundledDependencies: false,
|
|
717
712
|
devDependencies: [
|
|
718
|
-
"*.{js,cjs,mjs,ts,jsx,tsx}",
|
|
713
|
+
"*.{js,cjs,mjs,ts,cts,mts,jsx,tsx}",
|
|
719
714
|
"scripts/**",
|
|
720
715
|
"spec/**",
|
|
721
716
|
"test/**",
|
|
722
717
|
"tests/**",
|
|
723
718
|
"**/__mocks__/**",
|
|
724
719
|
"**/__tests__/**",
|
|
725
|
-
"**/*{.,_}{test,spec}.{js,cjs,mjs,ts,jsx,tsx}",
|
|
720
|
+
"**/*{.,_}{test,spec}.{js,cjs,mjs,ts,cts,mts,jsx,tsx}",
|
|
726
721
|
"**/Gruntfile{,.{js,cjs,mjs,ts}}",
|
|
727
722
|
"**/gulpfile.{js,cjs,mjs,ts}",
|
|
728
723
|
"**/gulpfile.*.{js,cjs,mjs,ts}",
|
|
@@ -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
|
},
|
package/dist/typescript.cjs
CHANGED
package/dist/typescript.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebeccastevens/eslint-config",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.21",
|
|
4
4
|
"description": "My ESLint shareable config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint config"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
88
88
|
"eslint-plugin-functional": "^4.2.0",
|
|
89
89
|
"eslint-plugin-import": "^2.25.4",
|
|
90
|
-
"eslint-plugin-jsdoc": "^
|
|
90
|
+
"eslint-plugin-jsdoc": "^39.2.9",
|
|
91
91
|
"eslint-plugin-markdown": "^2.2.1",
|
|
92
92
|
"eslint-plugin-node": "^11.1.0",
|
|
93
93
|
"eslint-plugin-optimize-regex": "^1.2.1",
|