@rebeccastevens/eslint-config 1.4.3 → 1.4.4
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 +7 -0
- package/dist/modern.cjs +2 -2
- package/dist/modern.mjs +2 -2
- package/dist/script.cjs +4 -4
- package/dist/script.mjs +4 -4
- package/dist/test.cjs +4 -4
- package/dist/test.mjs +4 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
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.4.4](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.4.3...v1.4.4) (2022-10-04)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* update for eslint-plugin-functional 5 ([cf67943](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/cf6794302dfa7af8be576c3716e52de65a01ed0a))
|
|
10
|
+
|
|
4
11
|
## [1.4.3](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.4.2...v1.4.3) (2022-09-29)
|
|
5
12
|
|
|
6
13
|
|
package/dist/modern.cjs
CHANGED
|
@@ -596,12 +596,12 @@ const settings$8 = {
|
|
|
596
596
|
plugins: ["functional"],
|
|
597
597
|
extends: ["plugin:functional/recommended"],
|
|
598
598
|
rules: {
|
|
599
|
-
"functional/no-expression-
|
|
599
|
+
"functional/no-expression-statements": "error",
|
|
600
600
|
"functional/immutable-data": [
|
|
601
601
|
"error",
|
|
602
602
|
{
|
|
603
603
|
ignoreAccessorPattern: ["**.mutable*.**", "**.m_*.**"],
|
|
604
|
-
|
|
604
|
+
ignoreClasses: "fieldsOnly",
|
|
605
605
|
ignoreImmediateMutation: true,
|
|
606
606
|
},
|
|
607
607
|
],
|
package/dist/modern.mjs
CHANGED
|
@@ -594,12 +594,12 @@ const settings$8 = {
|
|
|
594
594
|
plugins: ["functional"],
|
|
595
595
|
extends: ["plugin:functional/recommended"],
|
|
596
596
|
rules: {
|
|
597
|
-
"functional/no-expression-
|
|
597
|
+
"functional/no-expression-statements": "error",
|
|
598
598
|
"functional/immutable-data": [
|
|
599
599
|
"error",
|
|
600
600
|
{
|
|
601
601
|
ignoreAccessorPattern: ["**.mutable*.**", "**.m_*.**"],
|
|
602
|
-
|
|
602
|
+
ignoreClasses: "fieldsOnly",
|
|
603
603
|
ignoreImmediateMutation: true,
|
|
604
604
|
},
|
|
605
605
|
],
|
package/dist/script.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
const baseConfig = {
|
|
4
4
|
rules: {
|
|
5
|
-
"functional/no-conditional-
|
|
6
|
-
"functional/no-expression-
|
|
7
|
-
"functional/no-loop-
|
|
5
|
+
"functional/no-conditional-statements": "off",
|
|
6
|
+
"functional/no-expression-statements": "off",
|
|
7
|
+
"functional/no-loop-statements": "off",
|
|
8
8
|
"functional/no-return-void": "off",
|
|
9
|
-
"functional/no-throw-
|
|
9
|
+
"functional/no-throw-statements": "off",
|
|
10
10
|
"node/no-process-exit": "off",
|
|
11
11
|
"node/no-sync": "off",
|
|
12
12
|
"node/no-unpublished-import": "off",
|
package/dist/script.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const baseConfig = {
|
|
2
2
|
rules: {
|
|
3
|
-
"functional/no-conditional-
|
|
4
|
-
"functional/no-expression-
|
|
5
|
-
"functional/no-loop-
|
|
3
|
+
"functional/no-conditional-statements": "off",
|
|
4
|
+
"functional/no-expression-statements": "off",
|
|
5
|
+
"functional/no-loop-statements": "off",
|
|
6
6
|
"functional/no-return-void": "off",
|
|
7
|
-
"functional/no-throw-
|
|
7
|
+
"functional/no-throw-statements": "off",
|
|
8
8
|
"node/no-process-exit": "off",
|
|
9
9
|
"node/no-sync": "off",
|
|
10
10
|
"node/no-unpublished-import": "off",
|
package/dist/test.cjs
CHANGED
|
@@ -5,10 +5,10 @@ const baseConfig = {
|
|
|
5
5
|
rules: {
|
|
6
6
|
"functional/functional-parameters": "off",
|
|
7
7
|
"functional/immutable-data": "warn",
|
|
8
|
-
"functional/no-conditional-
|
|
9
|
-
"functional/no-expression-
|
|
10
|
-
"functional/no-loop-
|
|
11
|
-
"functional/no-throw-
|
|
8
|
+
"functional/no-conditional-statements": "warn",
|
|
9
|
+
"functional/no-expression-statements": "off",
|
|
10
|
+
"functional/no-loop-statements": "warn",
|
|
11
|
+
"functional/no-throw-statements": "off",
|
|
12
12
|
"node/no-sync": "off",
|
|
13
13
|
},
|
|
14
14
|
};
|
package/dist/test.mjs
CHANGED
|
@@ -3,10 +3,10 @@ const baseConfig = {
|
|
|
3
3
|
rules: {
|
|
4
4
|
"functional/functional-parameters": "off",
|
|
5
5
|
"functional/immutable-data": "warn",
|
|
6
|
-
"functional/no-conditional-
|
|
7
|
-
"functional/no-expression-
|
|
8
|
-
"functional/no-loop-
|
|
9
|
-
"functional/no-throw-
|
|
6
|
+
"functional/no-conditional-statements": "warn",
|
|
7
|
+
"functional/no-expression-statements": "off",
|
|
8
|
+
"functional/no-loop-statements": "warn",
|
|
9
|
+
"functional/no-throw-statements": "off",
|
|
10
10
|
"node/no-sync": "off",
|
|
11
11
|
},
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebeccastevens/eslint-config",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "My ESLint shareable config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint config"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"eslint": ">=8.0.0",
|
|
115
115
|
"eslint-import-resolver-typescript": "*",
|
|
116
116
|
"eslint-plugin-eslint-comments": "*",
|
|
117
|
-
"eslint-plugin-functional": "
|
|
117
|
+
"eslint-plugin-functional": ">=5.0.0",
|
|
118
118
|
"eslint-plugin-import": "*",
|
|
119
119
|
"eslint-plugin-jsdoc": "*",
|
|
120
120
|
"eslint-plugin-markdown": "*",
|