@rebeccastevens/eslint-config 1.3.13 → 1.3.14
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/typescript.cjs +13 -13
- package/dist/typescript.mjs +13 -13
- 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.14](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.13...v1.3.14) (2022-04-04)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* fix dash character ([5b8a1c7](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/5b8a1c7f8954863825ead368ba5d5045d585f923))
|
|
10
|
+
* tweak naming-convention ([1df2ea5](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/1df2ea5f5fd68b84a9de4976e5a3b87e5e606227))
|
|
11
|
+
|
|
4
12
|
## [1.3.13](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.12...v1.3.13) (2022-04-04)
|
|
5
13
|
|
|
6
14
|
|
package/dist/typescript.cjs
CHANGED
|
@@ -61,7 +61,7 @@ const settings = {
|
|
|
61
61
|
accessibility: "explicit",
|
|
62
62
|
},
|
|
63
63
|
],
|
|
64
|
-
"@typescript-eslint/explicit
|
|
64
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
65
65
|
"@typescript-eslint/indent": ["error", 2],
|
|
66
66
|
"@typescript-eslint/naming-convention": [
|
|
67
67
|
"error",
|
|
@@ -71,6 +71,12 @@ const settings = {
|
|
|
71
71
|
leadingUnderscore: "allow",
|
|
72
72
|
trailingUnderscore: "forbid",
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
selector: "variableLike",
|
|
76
|
+
format: ["camelCase", "PascalCase"],
|
|
77
|
+
leadingUnderscore: "allow",
|
|
78
|
+
trailingUnderscore: "forbid",
|
|
79
|
+
},
|
|
74
80
|
{
|
|
75
81
|
selector: "variable",
|
|
76
82
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
@@ -85,24 +91,14 @@ const settings = {
|
|
|
85
91
|
trailingUnderscore: "forbid",
|
|
86
92
|
modifiers: ["const"],
|
|
87
93
|
},
|
|
88
|
-
{
|
|
89
|
-
selector: "variableLike",
|
|
90
|
-
format: ["camelCase", "PascalCase"],
|
|
91
|
-
leadingUnderscore: "allow",
|
|
92
|
-
trailingUnderscore: "forbid",
|
|
93
|
-
},
|
|
94
94
|
{
|
|
95
95
|
selector: "memberLike",
|
|
96
96
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
97
97
|
prefix: ["m_", "M_"],
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
selector: "
|
|
101
|
-
format:
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
selector: "objectLiteralMethod",
|
|
105
|
-
format: null,
|
|
100
|
+
selector: ["classMethod", "typeMethod"],
|
|
101
|
+
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
106
102
|
},
|
|
107
103
|
{
|
|
108
104
|
selector: "enumMember",
|
|
@@ -116,6 +112,10 @@ const settings = {
|
|
|
116
112
|
leadingUnderscore: "forbid",
|
|
117
113
|
trailingUnderscore: "forbid",
|
|
118
114
|
},
|
|
115
|
+
{
|
|
116
|
+
selector: ["objectLiteralProperty", "objectLiteralMethod"],
|
|
117
|
+
format: null,
|
|
118
|
+
},
|
|
119
119
|
],
|
|
120
120
|
"@typescript-eslint/no-confusing-void-expression": [
|
|
121
121
|
"error",
|
package/dist/typescript.mjs
CHANGED
|
@@ -59,7 +59,7 @@ const settings = {
|
|
|
59
59
|
accessibility: "explicit",
|
|
60
60
|
},
|
|
61
61
|
],
|
|
62
|
-
"@typescript-eslint/explicit
|
|
62
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
63
63
|
"@typescript-eslint/indent": ["error", 2],
|
|
64
64
|
"@typescript-eslint/naming-convention": [
|
|
65
65
|
"error",
|
|
@@ -69,6 +69,12 @@ const settings = {
|
|
|
69
69
|
leadingUnderscore: "allow",
|
|
70
70
|
trailingUnderscore: "forbid",
|
|
71
71
|
},
|
|
72
|
+
{
|
|
73
|
+
selector: "variableLike",
|
|
74
|
+
format: ["camelCase", "PascalCase"],
|
|
75
|
+
leadingUnderscore: "allow",
|
|
76
|
+
trailingUnderscore: "forbid",
|
|
77
|
+
},
|
|
72
78
|
{
|
|
73
79
|
selector: "variable",
|
|
74
80
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
@@ -83,24 +89,14 @@ const settings = {
|
|
|
83
89
|
trailingUnderscore: "forbid",
|
|
84
90
|
modifiers: ["const"],
|
|
85
91
|
},
|
|
86
|
-
{
|
|
87
|
-
selector: "variableLike",
|
|
88
|
-
format: ["camelCase", "PascalCase"],
|
|
89
|
-
leadingUnderscore: "allow",
|
|
90
|
-
trailingUnderscore: "forbid",
|
|
91
|
-
},
|
|
92
92
|
{
|
|
93
93
|
selector: "memberLike",
|
|
94
94
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
95
95
|
prefix: ["m_", "M_"],
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
selector: "
|
|
99
|
-
format:
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
selector: "objectLiteralMethod",
|
|
103
|
-
format: null,
|
|
98
|
+
selector: ["classMethod", "typeMethod"],
|
|
99
|
+
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
104
100
|
},
|
|
105
101
|
{
|
|
106
102
|
selector: "enumMember",
|
|
@@ -114,6 +110,10 @@ const settings = {
|
|
|
114
110
|
leadingUnderscore: "forbid",
|
|
115
111
|
trailingUnderscore: "forbid",
|
|
116
112
|
},
|
|
113
|
+
{
|
|
114
|
+
selector: ["objectLiteralProperty", "objectLiteralMethod"],
|
|
115
|
+
format: null,
|
|
116
|
+
},
|
|
117
117
|
],
|
|
118
118
|
"@typescript-eslint/no-confusing-void-expression": [
|
|
119
119
|
"error",
|